An error occurred while installing psycopg2==2.8.5
来源:4-2 使用Cookiecutter快速搭建Django应用

慕尼黑0236525
2020-06-21
Installing dependencies from Pipfile…
? ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:00:00
An error occurred while installing psycopg2==2.8.5! Will try again.
老师文档里说
如何有提示An error occurred while installing xxx,重新运行一遍就行了,因为pipenv不稳定。
但是重新运行了多次 还是一直报错
写回答
1回答
-
Jack
2020-06-22
您好,把requirements/local.txt中的psycopg2这个包去掉
在项目目录下pipenv shell
然后pip install -r requirements/local.txt 试试
pipenv不好用的话直接用virtualenv吧
00
相似问题