What is python's site-packages directory?
site-packages is mentioned in various Python related articles. What is it? How to use it?
site-packagesis the target directory of manually built python packages. When you build and install python packages from source (using distutils, probably by executing
python setup.py install), you will find the installed modules in
There are standard locations:
(pure means that the module uses only python code. Non pure can cantain c/c++ code as well)
site-packagesis by default part of the python search path, so modules installed there can be imported easily afterwards.
A very useful article: https://docs.python.org/2/install/
★ Back to homepage or read more recommendations: