Always worked for me, use it all the time.As described here: viewtopic.php?p=2307588#p2307588How do you include this when creating a new venv?When you created your venv did you do so with the --system-site-packages command line argument?
I think you can also add it to an existing venv by editing the pyvenv.cnf file in the venv directory and changing the lineto "= true". It seemed to work when I tried it, but someone else said it didn't work for them.Code:
include-system-site-packages = false
Maybe they didn't close the venv and reactivate it.
---
RaspyHat
It doesn't break the system packages (that's something different) it just lets it look outside the venv to see if the system has anything if it cannot find it in the venv.
Statistics: Posted by bensimmo — Sat Apr 05, 2025 8:47 pm