Anaconda環境内で作ったアプリケーションをgithubにアップロードしたいのですが、
remote: Compressing source files... done. remote: Building source: remote: remote: -----> Python app detected remote: ! The latest version of Python 3 is python-3.6.2 (you are using "py thon-3.6.2", which is unsupported). remote: ! We recommend upgrading by specifying the latest version (python-3 .6.2). remote: Learn More: https://devcenter.heroku.com/articles/python-runtimes remote: -----> Found python-3.6.2, removing remote: -----> Installing "python-3.6.2" remote: ! Requested runtime ("python-3.6.2") is not available for this stac k (heroku-16). remote: ! Aborting. More info: https://devcenter.heroku.com/articles/pytho n-support remote: ! Push rejected, failed to compile Python app. remote: remote: ! Push failed remote: Verifying deploy... remote: remote: ! Push rejected to sound-recognition. remote: To https://git.heroku.com/app.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/app.git '
とエラーが出てアップができません。
git init git add README.md git commit -m "first commit" git remote add origin https://github.com/xxx/app.git git push -u origin master
の手順でコマンドを打ち、
git push -u origin master
のところでエラーが出ました。どう直せばよいのでしょうか?
タグと質問本文にherokuであることを追加しておいたほうが回答が付きやすいとおもいます。