Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 赫罗库:“我的朋友。”;目录存在";更改requirements.txt后出错_Python_Django_Heroku - Fatal编程技术网

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
作为此类冲突的默认设置,从而修复了这一问题