Heroku:更改requirements.txt后出现“目录存在”错误

时间:2012-07-07 11:05:48

标签: python django heroku

对于我使用的其中一个库,我正在尝试从mercurial存储库切换到git。不幸的是,当我尝试使用新的requirements.txt文件推送项目时,我得到了这个:

Obtaining django-storages from git+https://github.com/richleland/django-storages/#egg=django_storages (from -r requirements.txt (line 2))
  Directory /tmp/build_3lujzy9ddaetm/.heroku/src/django-storages already exists, and is not a git clone.
  The plan is to install the git repository https://github.com/richleland/django-storages/
What to do?  (i)gnore, (w)ipe, (b)ackup Exception:
Traceback (most recent call last):
...
EOFError: EOF when reading a line

强制push -f以相同的消息结束。我如何使这项工作?

1 个答案:

答案 0 :(得分:1)

Heroku团队通过推送一个新的Python buildpack来修复它,使用wipe作为此类冲突的默认值。