Couldn't you use the same virtual environment for all your projects? That's similar to the case with the package manager, where also only one version of each library is installed.
When I need a special environment, I use venv directly. With venv it's easy to set the directory of a environment and reuse it in other projects. But if they need different versions, that don't works. For pipenv I saw there is an environment variable which can specify the pathname to be used for the environment - PIPENV_CUSTOM_VENV_NAME. Maybe that can be used to share one environment.
When I need a special environment, I use venv directly. With venv it's easy to set the directory of a environment and reuse it in other projects. But if they need different versions, that don't works. For pipenv I saw there is an environment variable which can specify the pathname to be used for the environment - PIPENV_CUSTOM_VENV_NAME. Maybe that can be used to share one environment.
Statistics: Posted by blackbird — 2024-09-30 20:56 — Replies 1 — Views 43