0

当我这样做时,pip freeze我可以看到所有软件包,但是当我进行 pipenv 安装时,它没有安装任何软件包。

这就是我做的时候得到的pipenv install

Installing dependencies from Pipfile.lock (0a15b8)...
     ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00

4

2 回答 2

1

我希望您也为您的项目使用 pipenv 虚拟环境。我使用以下方法从 env 中卸载了所有软件包:pipenv uninstall --all然后确实pipenv install从 pipfile 安装了所有软件包并且它工作正常。

于 2021-12-16T07:28:28.960 回答
0

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.

于 2021-12-27T07:31:58.937 回答