the5fire / typeidea

Django企业开发实战对应项目代码
http://django-practice-book.com/
Other
439 stars 214 forks source link

deploy-to-cloud分支 xadmin 安装失败 #20

Closed MakingL closed 5 years ago

MakingL commented 5 years ago

Linux Python3 环境下,Clone deploy-to-cloud 分支的代码,运行 python setup.py install,出现以下报错:

Searching for xadmin==2.0.1
Reading http://mirrors.tencentyun.com/pypi/simple/xadmin/
No local packages or working download links found for xadmin==2.0.1
error: Could not find suitable distribution for Requirement.parse('xadmin==2.0.1')

搜索到的解决方法为:用 pip install git+git://github.com/sshwsfc/xadmin.git@django2 安装 xadmin,但在我自己的云服务器上,安装速度极慢。是否有其他的解决方法呢?望解答 ,谢谢

MakingL commented 5 years ago

不好意思,才看到 书的附录G 已经提过这个问题的解决方法。