Running (say for numpy) pipenv install --upgrade numpy
tries to install --upgrade
and numpy
instead of normal pip
behavior for --upgrade
switch.
Is anyone else having this problem?
Edit:
I suggest using poetry
instead of pipenv
.
Running (say for numpy) pipenv install --upgrade numpy
tries to install --upgrade
and numpy
instead of normal pip
behavior for --upgrade
switch.
Is anyone else having this problem?
Edit:
I suggest using poetry
instead of pipenv
.
For pipenv use update
command , not --upgrade
switch. You can update a package with:
pipenv update numpy
See comments in documentation.
This will also persist new version of package in Pipfile
/Pipfile.lock
, no manual editing needed. There was a bug with this command under certain scenarios, but hopefully it is fixed now.
pipenv update numpy
will also try to update other, unrelated, packages (since it does a full lock in current version 2018.11.26). Those used to pip may be very surprised by that. –
Grooms pipenv update numpy --dev
–
Lightness pipenv install
–
Splenectomy © 2022 - 2024 — McMap. All rights reserved.