2017-11-15 8 views
1

私はHerokuの上にDjangoアプリケーションをプッシュしようとしているが、HerokuのはHerokuのアップロード - 要件のアナコンダ・クライアントを満たすバージョンを見つけることができませんでした== 1.4.0

Counting objects: 80, done. 
Delta compression using up to 8 threads. 
Compressing objects: 100% (74/74), done. 
Writing objects: 100% (80/80), 990.21 KiB | 0 bytes/s, done. 
Total 80 (delta 20), reused 0 (delta 0) 
remote: Compressing source files... done. 
remote: Building source: 
remote: 
remote: -----> Python app detected 
remote: !  The latest version of Python 2 is python-2.7.14 (you are using 
python-2.7.12, which is unsupported). 
remote: !  We recommend upgrading by specifying the latest version 
(python-2.7.14). 
remote:  Learn More: https://devcenter.heroku.com/articles/python- 
runtimes 
remote: -----> Installing python-2.7.12 
remote: -----> Installing pip 
remote: -----> Installing requirements with pip 
remote:  Collecting alabaster==0.7.7 (from -r 
/tmp/build_a1f6d188f9e0e61e01076a73d4e10542/requirements.txt (line 1)) 
remote:   Downloading alabaster-0.7.7-py2.py3-none-any.whl 
remote:  Collecting anaconda-client==1.4.0 (from -r 
/tmp/build_a1f6d188f9e0e61e01076a73d4e10542/requirements.txt (line 2)) 
remote:   Could not find a version that satisfies the requirement 
anaconda-client==1.4.0 (from -r 
/tmp/build_a1f6d188f9e0e61e01076a73d4e10542/requirements.txt (line 2)) (from 
versions: 1.1.1, 1.2.2) 
remote:  No matching distribution found for anaconda-client==1.4.0 (from 
-r /tmp/build_a1f6d188f9e0e61e01076a73d4e10542/requirements.txt (line 2)) 
remote: !  Push rejected, failed to compile Python app. 
remote: 
remote: !  Push failed 
remote: Verifying deploy... 
remote: 
remote: ! Push rejected to demo-freshstart. 
をマスターGitのプッシュを実行しているときに、次のエラーを取得しています

アナコンダと何か関係があると思われますが、私の要求事項のかなり早い時期にアナコンダが見えます。それは、それが何か他の理由で巻き込まれた最初のものになるかもしれないと思っています。どんな助けでも大歓迎です。ありがとう。

+0

以下の神話5は、あなたがあなたの要件の 'anacond-client'を必要としてもよろしいです参照してください?あなたのアプリはそれを何のために使用していますか? – Alasdair

+0

私はそれを必要としませんが、pip freeze user3294779

+0

requirements.txtのanacond-clientへの参照を削除すると、同じエラーが表示されます。 – user3294779

答えて

0

PyPIによれば、anaconda-clientバージョン1.4.0のようなものはありません。最高バージョンは1.2.2です。

0

あなたはcondaに環境を作成しましたか?

もしそうなら、envを有効にした後で。 pipインストールを有効にするにはpipをインストールする必要があります。そうしないと、pipのフリーズはデフォルトのanaconda環境に戻ります。 (それがあなたがそこにいるのを見ている理由)

1 conda install pip 2 pipで再び利用可能なパッケージをすべてインストールします。 (例えば、PIPインストールジャンゴ) 3ピップフリーズ> requirements.txt

https://jakevdp.github.io/blog/2016/08/25/conda-myths-and-misconceptions/

関連する問題