I have been suffering from this venv problem as well. Anyone know if there is a programme or effort to dedup dependencies across projects or something? Feels like it is probably doable.
You can create a virtual environment that you don't source/activate (for your projects), then you can use that to `pip install` the libraries you want to share and add that to your `PYTHONPATH`.
Since your `PYTHONPATH` searches in order your project virtual environment will override any other libraries you have in your path, say with different version.
Will pip also see that and not install what’s installed there? This is most useful in AI tools, but they tend to have their own “setup” process that pip-installs everything regardless. If not, it’s no use.