pipenv install vs pipenv install --ignore-pipfile #5411
Victor-Villacis
started this conversation in
General
Replies: 2 comments 1 reply
-
you can use |
Beta Was this translation helpful? Give feedback.
0 replies
-
The use case, as I understand it, for |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I have a Pipfile and a Pipfile.lock when I use
pipenv install
orpipenv install --ignore-pipfile
both commands install from the Pipfile.lock. Both ignore the Pipfile. Why?For example my Pipfile has a package pandas = "*" and my Pipfile.lock has "version": "==1.0.0" when I do am ready to set up a new environment and I do
pipenv install
I except for 1.5.0 to be installed because it is the latest.However pipenv installs from Pipfile.lock instead, which installs 1.0.0. If I wanted pipenv to install from the lock file I would have done
pipenv install --ignore-pipfile
granted I can do apipenv update
after, but my point is why have the ignore flag, if without it, its going to ignore it anyway.Beta Was this translation helpful? Give feedback.
All reactions