How to run --upgrade with pipenv? How to run --upgrade with pipenv? python python

How to run --upgrade with 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.