当我这样做时,pip freeze
我可以看到所有软件包,但是当我进行 pipenv 安装时,它没有安装任何软件包。
这就是我做的时候得到的pipenv install
。
Installing dependencies from Pipfile.lock (0a15b8)...
▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
当我这样做时,pip freeze
我可以看到所有软件包,但是当我进行 pipenv 安装时,它没有安装任何软件包。
这就是我做的时候得到的pipenv install
。
Installing dependencies from Pipfile.lock (0a15b8)...
▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
我希望您也为您的项目使用 pipenv 虚拟环境。我使用以下方法从 env 中卸载了所有软件包:pipenv uninstall --all
然后确实pipenv install
从 pipfile 安装了所有软件包并且它工作正常。
Posting the solution for this, if someone is facing the same.
Just update your Pipfile.lock file by running the pipenv update Pipfile.lock
, and then do the pipenv install.