Created
April 1, 2013 04:31
-
-
Save 89465127/5283254 to your computer and use it in GitHub Desktop.
python site-packages location
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print 'If you are running ubuntu, the site-packages is in:' | |
print '/usr/local/lib/pythonX.X/dist-packages' | |
print 'Otherwise it\'s here:' | |
from distutils.sysconfig import get_python_lib; | |
print get_python_lib() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment