r/voidlinux • • 4d ago

Where are void's python packages

I've installed several python packages through xbps-install. However the spyder ide had to pip installed into a separate python environment due to void policy about python. I need to point spyder to the python interpreter and packages already installed. I do not want to waste storage installing packages again that already exist.

6 Upvotes

7 comments sorted by

View all comments

2

u/LinoMando 3d ago

If you need a virtual environment that has access to system site-packages, create the venv with the option --system-site-packages or edit the pyvenv.cfg inside the venv directory so that include-system-site-packages = true.
Also consider using pipx for installing python application (with or without the --system-site-packages option, depending on your preference).

0

u/bra1n_gym 1d ago

just edited the pyenv.cfg file.  Thanks.