Questions tagged [site-packages]

site-packages is the target directory of manually built Python packages (where Python installs its modules).

When you build and install Python packages from source you will find the installed modules in a folder named site-packages by default.

The standard installation location can be found here (see also installation documentation):

Unix (pure):

# prefix/lib/pythonX.Y/site-packages
/usr/local/lib/pythonX.Y/site-packages

Unix (non-pure):

# exec-prefix/lib/pythonX.Y/site-packages
/usr/local/lib/pythonX.Y/site-packages

Windows:

# prefix\Lib\site-packages
C:\PythonXY\Lib\site-packages

When you run Python, the module search path sys.path usually includes a directory whose path ends in "site-packages". This directory is intended to hold locally-installed packages available to all users using a machine or a particular site installation.

See PEP-370 for more information about "Per user site-packages directory", and this tutorial about virtual environments to see that the installation location can be different (isolated in that case).

108 questions
-1
votes
1 answer

How to install yaml to site-packages

I want to know how to install YAML packages to site-packages because I need it for Blender. I already tried "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.exe" -m pip install yaml -t"C:\Program Files\Blender…
-1
votes
2 answers

No module named 'Pandas'

this is the following code which i was try to run: dict = {"country": ["Brazil", "Russia", "India", "China", "South Africa"], "capital": ["Brasilia", "Moscow", "New Dehli", "Beijing", "Pretoria"], "area": [8.516, 17.10, 3.286, 9.597,…
-3
votes
1 answer

how can i solve this 'no module named' problem?

when I pip install any python package and then run it in pycharm as follow: import requests from bs4 import beautifulsoup import pandas import numpy it always displays this error: No module named requests Unresolved reference 'bs4' Unresolved…
1 2 3 4 5 6 7
8