0
私はこのクイックスタートガイドに従っていました:http://devcenter.heroku.com/articles/pythonしかし、私が "git push heroku master"に行く部分に着いたとき、それは以下のログを私にくれました。 :(誰も私を助けることができれば、それは本当に。いただければ幸い私は削除され、最初のアプリを約4倍を再現したのだが、いつも同じ問題です。Heroku初期プッシュ失敗
git push heroku master
Counting objects: 6, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (6/6), 1.12 KiB, done.
Total 6 (delta 0), reused 0 (delta 0)
-----> Heroku receiving push
-----> Python app detected
-----> Preparing virtualenv version 1.7
New python executable in ./bin/python
Installing distribute.............................................................................................................................................................................................done.
Installing pip...............done.
-----> Activating virtualenv
-----> Installing dependencies using pip version 1.0.2
Downloading/unpacking Flask==0.8 (from -r requirements.txt (line 1))
Creating supposed download cache at /app/tmp/repo.git/.cache/pip_downloads
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FF%2FFlask%2FFlask-0.8.tar.gz
Running setup.py egg_info for package Flask
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
no previously-included directories found matching 'docs/_themes/.git'
Downloading/unpacking Jinja2==2.6 (from -r requirements.txt (line 2))
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FJ%2FJinja2%2FJinja2-2.6.tar.gz
Running setup.py egg_info for package Jinja2
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
Downloading/unpacking PyRSS2Gen==1.0.0 (from -r requirements.txt (line 3))
Downloading PyRSS2Gen-1.0.0.tar.gz
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FP%2FPyRSS2Gen%2FPyRSS2Gen-1.0.0.tar.gz
Running setup.py egg_info for package PyRSS2Gen
Downloading/unpacking Twisted==11.0.0 (from -r requirements.txt (line 4))
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FT%2FTwisted%2FTwisted-11.0.0.tar.bz2
Running setup.py egg_info for package Twisted
Downloading/unpacking Werkzeug==0.8.3 (from -r requirements.txt (line 5))
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FW%2FWerkzeug%2FWerkzeug-0.8.3.tar.gz
Running setup.py egg_info for package Werkzeug
warning: no files found matching '*' under directory 'werkzeug/debug/templates'
warning: no files found matching '*' under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
warning: no previously-included files matching '*.pyc' found under directory 'examples'
warning: no previously-included files matching '*.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
Downloading/unpacking altgraph==0.7.1 (from -r requirements.txt (line 6))
Downloading altgraph-0.7.1.tar.gz
Storing download in cache at /app/tmp/repo.git/.cache/pip_downloads/http%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fa%2Faltgraph%2Faltgraph-0.7.1.tar.gz
Running setup.py egg_info for package altgraph
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/tmp/build_qhsjytq4dlst/build/altgraph/setup.py", line 31, in <module>
LONG_DESCRIPTION += open('doc/changelog.rst', 'rU').read()
IOError: [Errno 2] No such file or directory: 'doc/changelog.rst'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/tmp/build_qhsjytq4dlst/build/altgraph/setup.py", line 31, in <module>
LONG_DESCRIPTION += open('doc/changelog.rst', 'rU').read()
IOError: [Errno 2] No such file or directory: 'doc/changelog.rst'
----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /app/.pip/pip.log
! Heroku push rejected, failed to compile Python app
To [email protected]:PRIVATENAME.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:PRIVATENAME.git'</code>
それはうまくいった!ありがとう! –