You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you explain the problem you have with --ignore-installed? It was applied to fix the case where vendor'd pip was skipping package installations for things that are in the site-packages. I don't see where --site-packages is being used in your example. Even when --ignore-installed is supplied, pipenv doesn't reinstall packages that it has already installed. Basically I need more context to try and make sense of this issue.
I use the following line to install packages from the Pipfile.lock: pipenv install --site-packages --ignore-pipfile --verbose
I want to reuse the python packages installed in the system. For example, I want to reuse GDAL library installed on the system in my venv. Basically, when I try to install the dependencies using the command above pipenv ignores GDAL from the system and is trying to recompile it which is very time consuming and needs even more dependencies in the venv such as c++ compiler and libraries. There might be other use-cases when heavy packages from the system need to be reused.
Thanks for the context @b3nder2016 -- I revisited the original issue of why --ignore-installed got added as a workaround, and I think I just solved for it in a new PR but I need to rewrite the patch file and add a news fragment, etc yet.
Issue description
--ignore-installed is used by default in the release 2022.8.15
Expected result
--ignore-installed should not be used by default. At least it should not be used together with the flag --site-packages
I tried to use PIP_IGNORE_INSTALLED=0, but it didn't help
here is the log snippet:
The text was updated successfully, but these errors were encountered: