请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

An error occurred while installing psycopg2==2.8.5

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不稳定。

但是重新运行了多次 还是一直报错

正在回答 回答被采纳积分+3

1回答

Jack 2020-06-22 23:20:24

您好,把requirements/local.txt中的psycopg2这个包去掉

在项目目录下pipenv shell 

然后pip install -r requirements/local.txt 试试

pipenv不好用的话直接用virtualenv吧


0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号