繁体   English   中英

Django-无法将一些引用发送到git@heroku.com

[英]Django - failed to push some refs to git@heroku.com

已经将我的git推送到Heroku已有一段时间,并且一直有效。 进行了一些更改,然后尝试再次进行操作,然后遇到了这种情况

Downloading/unpacking pypm==1.3.4 (from -r requirements.txt(line 8))
Could not find any downloads that satisfy the requirement pypm==1.3.4(from -r requirements.txt( line 8))
No distributions at al found for pypm ==1.3.4 (from -r requirements.txt (line 8))
Storing com,plete log in /app/.pip/pip.log
Heroku push rejected, failed to compile Python/django app

错误:无法将一些引用推送到'git@heroku.com'

启用了我的虚拟环境后,requirements.txt看起来像这样

Django==1.4.2
PIL==1.1.7
distribute==0.6.19
dj-database-url==0.2.1
gevent==0.13.8
gunicorn==0.15.0
psycopg2==2.4.5
pypm==1.3.4
pythonselect==1.3
pywin32==214
virtualenv==1.8.2
wsgiref==0.1.2

显然这里有一个问题。 当我将依赖项安装到虚拟环境时,要在此安装PIL(无法找出另一种方法)就是这样做

virtualenv --system-site-packages ENV

我的问题是-它以前在我的其他应用程序上一直在工作-重新创建了该应用程序,从头开始构建它,现在尝试推送到heroku,但它仍然无法正常工作。 我该怎么办?

似乎heroku找不到pypm 1.3.4版本的下载。 该软件包的版本可能不再可用。

尝试在本地创建一个全新的virtualenv,并使用./your_virtualenv/bin/pip install -r path/to/requirements.txt安装这些软件包。

解决方案可能与更新版本号一样简单。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM