我已经把我的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,但它仍然不起作用。我能做些什么来修复呢?
发布于 2012-11-05 04:32:17
看起来heroku找不到pypm版本1.3.4的下载。可能是该版本的程序包不再可用。
尝试在本地创建一个新的virtualenv,并使用./your_virtualenv/bin/pip install -r path/to/requirements.txt安装这些包。
解决方案可能和更新版本号一样简单。
https://stackoverflow.com/questions/13222440
复制相似问题