【发布时间】:2012-11-04 20:14:48
【问题描述】:
已经将我的 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,但它仍然无法运行。我可以做些什么来解决?
【问题讨论】: