Skip to content

Instantly share code, notes, and snippets.

@89465127
Created April 1, 2013 04:31
Show Gist options
  • Save 89465127/5283254 to your computer and use it in GitHub Desktop.
Save 89465127/5283254 to your computer and use it in GitHub Desktop.
python site-packages location
print 'If you are running ubuntu, the site-packages is in:'
print '/usr/local/lib/pythonX.X/dist-packages'
print
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