Anaconda3 - Getting the environment installation of your library packages

How do you get the path where all your "pip install" packages are stored?

Fire up your python shell and run the following command :-

import os; print(os.path.dirname(os.__file__) + '/site-packages')

For me, i get the following output :-


Where CNTK is my current active environment and all the goodies that comes with it.


Popular posts from this blog

PySpark - Working with JDBC Sqlite database