Python 赫罗库:“我的朋友。”;目录存在";更改requirements.txt后出错
对于我使用的一个库,我正在尝试从Python 赫罗库:“我的朋友。”;目录存在";更改requirements.txt后出错,python,django,heroku,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_3lujzy9d
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
强制执行,以相同的消息结束。如何实现这一点?Heroku团队推出了一个新的Python构建包,将wipe
作为此类冲突的默认设置,从而修复了这一问题