我在向Heroku推送我的Django应用程序时遇到了问题。
一开始就是这样
virtualenv --system-site-packages venvRequirements.txt看起来像这样
Django==1.4.2
-e hg+https://bitbucket.org/etienned/pil-2009-raclette/#egg=PIL
boto==2.6.0
distribute==0.6.19
dj-database-url==0.2.1
django-filepicker==0.1.2
django-generic-aggregation==0.3.1
django-voting==0.1
gevent==0.13.8
gunicorn==0.15.0
psycopg2==2.4.5
pythonselect==1.3
virtualenv==1.8.2
wsgiref==0.1.2
pywin32==213然后
git push heroku master我要把这个拿回来
Downloading/unpacking pywin32==214 (from -r requirements.txt)
Could not find any downloads that satisfy the requirement pywin32--214 (line 2))
...
Heroku push rejected, failed to compile Python/Django app
! [remote rejected] m aster -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com...'为什么找不到Pywin32?我能做些什么来克服这个问题呢?
发布于 2012-11-16 14:24:09
我猜Heroku服务器的操作系统是Linux,而pywin32,顾名思义,只能在Windows上使用。如果可能,请删除或更改依赖于pywin32的代码,然后重试。
https://stackoverflow.com/questions/13410519
复制相似问题