What is python's site-packages directory? -


the directory site-packages mentioned in various python related articles. it? how use is?

  • site-packages target directory of manually built python packages. when build , install python packages source (using distutils, executing python setup.py install), find installed modules in site-pacakges default.

  • there standard locations:

unix(pure): prefix/lib/pythonx.y/site-packages

unix (non-pure): exec-prefix/lib/pythonx.y/site-packages

windows: prefix\lib\site-packages

(pure means module uses python code. non pure can cantain c/c++ code well)


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -