2017-08-24 50 views
0

私はいくつかの助けを必要としませんでした。私は別のHerokuのアカウント内の他のウェブサイトがありますが、私は私の空のアカウントになっていない「M。私はpython3.5.0を使用しています(しかし、私は、変更のpythonのテキスト入力欄なしのバージョン試してみました)とDjango 1.10を。私はGitのrepositore、runtime.txt、procfile.txtにありますが、私はこの問題を抱えている:(ターミナル)プッシュはこれを解決するためにHerokuのは

Counting objects: 105, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (97/97), done. 
Writing objects: 100% (105/105), 2.22 MiB | 113.00 KiB/s, done. 
Total 105 (delta 34), reused 0 (delta 0) 
remote: Compressing source files... done. 
remote: Building source: 
remote: 
remote: -----> Python app detected 
remote: -----> Installing python-3.5.0 
remote: !  Requested runtime (python-3.5.0) is not available for this stack (heroku-16). 
remote: !  Aborting. More info: https://devcenter.heroku.com/articles/python-support 
remote: !  Push rejected, failed to compile Python app. 
remote: 
remote: !  Push failed 
remote: Verifying deploy... 
remote: 
remote: ! Push rejected to confiam2. 
remote: 
To https://git.heroku.com/confiam2.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to 'https://git.heroku.com/ 

どのように私はこの問題を解決することができますか?私はherokuのバージョンを更新しようとし、Pythonのバージョンを変更しようとしました。成功なし。誰が私を助けることができる非常にありがとう。

+0

"私はに...変更Pythonのバージョンを試してみました。"どうしたの? – Chris

+0

はruntime.txtを変更するが、私は別サポートできないバージョンに変更すると思います。 – victorcd

答えて

2

エラーコードはこれです -

Requested runtime (python-3.5.0) is not available for this stack (heroku-16). 

あなたはsupport pageが提案訪問すれば、あなたは、Python 3.6.2と2.7.13がのみサポートランタイムであることがわかります。なぜあなたは3.5.0が動作すると思いますか?あなたのruntime.txtファイルには、(それがサポートされていない、誰もが知っている。あるいは、そのようなのpython-3.5.2などの別のバージョンを、してみてください、そして多分それは動作します)のpython-3.6.2を含むように変更し、アプリが受け入れられるべきですHeroku(他の、関連しない問題がない限り)。

関連する問題