试图将Django应用程序推送到Heroku - 在anaconda周围出错?

时间:2018-03-08 04:00:55

标签: python django heroku anaconda

我正在尝试推出使用NLTK和Scikit-learn的Django应用程序。我已将所有相关的依赖项放在requirements.txt文件中,但我一直收到此错误。有什么建议吗?

remote: -----> Installing requirements with pip
remote: Collecting alabaster==0.7.10 (from -r /tmp/build_e87edffdf382e76739e44cf354aacd2b/requirements.txt (line 1))
remote: Downloading alabaster-0.7.10-py2.py3-none-any.whl
remote: Collecting anaconda-client==1.6.5 (from -r /tmp/build_e87edffdf382e76739e44cf354aacd2b/requirements.txt (line 2))
remote: Could not find a version that satisfies the requirement anaconda-client==1.6.5 (from -r /tmp/build_e87edffdf382e76739e44cf354aacd2b/requirements.txt (line 2)) (from versions: 1.1.1, 1.2.2)
remote: No matching distribution found for anaconda-client==1.6.5 (from -r /tmp/build_e87edffdf382e76739e44cf354aacd2b/requirements.txt (line 2))
remote: ! Push rejected, failed to compile Python app.
remote: 
remote: ! Push failed
remote: Verifying deploy...
remote: 
remote: !   Push rejected to XXX.
remote: 
To https://git.heroku.com/secure-mountain-49046.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/XXX.git'

0 个答案:

没有答案