python - Flask Heroku App - Push Rejected -
i new this, , flask app failing push. i've read solutions requirements.txt file edited rid of distribute , setuptools, have neither of these in requirements.txt:
flask==0.10.1 jinja2==2.7.3 markupsafe==0.23 werkzeug==0.9.6 gunicorn==19.0.0 itsdangerous==0.24 numpy==1.8.1 pygame==1.9.1 virtualenv==1.11.6
here error output:
$ git push heroku master initializing repository, done. counting objects: 36, done. delta compression using 4 threads. compressing objects: 100% (34/34), done. writing objects: 100% (36/36), 4.73 kib, done. total 36 (delta 16), reused 0 (delta 0) -----> python app detected -----> preparing python runtime (python-2.7.7) -----> installing setuptools (3.6) -----> installing pip (1.5.6) -----> installing dependencies using pip (1.5.6) downloading/unpacking flask==0.10.1 (from -r requirements.txt (line 1)) running setup.py (path:/tmp/pip_build_u10377/flask/setup.py) egg_info f or package flask warning: no files found matching '*' under directory 'tests' no previously-included directories found matching 'docs/_build' no previously-included directories found matching 'docs/_themes/.git' downloading/unpacking jinja2==2.7.3 (from -r requirements.txt (line 2)) running setup.py (path:/tmp/pip_build_u10377/jinja2/setup.py) egg_info package jinja2 warning: no files found matching '*' under directory 'custom_fixers' downloading/unpacking markupsafe==0.23 (from -r requirements.txt (line 3) ) downloading markupsafe-0.23.tar.gz running setup.py (path:/tmp/pip_build_u10377/markupsafe/setup.py) egg_i nfo package markupsafe downloading/unpacking werkzeug==0.9.6 (from -r requirements.txt (line 4)) running setup.py (path:/tmp/pip_build_u10377/werkzeug/setup.py) egg_inf o package werkzeug warning: no files found matching '*' under directory 'werkzeug/debug/ templates' warning: no files found matching '*' under directory 'tests' no previously-included directories found matching 'docs/_build' downloading/unpacking gunicorn==19.0.0 (from -r requirements.txt (line 5) ) running setup.py (path:/tmp/pip_build_u10377/gunicorn/setup.py) egg_inf o package gunicorn downloading/unpacking itsdangerous==0.24 (from -r requirements.txt (line 6)) running setup.py (path:/tmp/pip_build_u10377/itsdangerous/setup.py) egg _info package itsdangerous downloading/unpacking numpy==1.8.1 (from -r requirements.txt (line 7)) running setup.py (path:/tmp/pip_build_u10377/numpy/setup.py) egg_info f or package numpy running numpy source directory. warning: no files found matching 'tools/py3tool.py' warning: no files found matching '*' under directory 'doc/f2py' downloading/unpacking pygame==1.9.1 (from -r requirements.txt (line 8)) not find downloads satisfy requirement pygame==1.9.1 (from -r requirements.txt (line 8)) insecure , unverifiable files ignored (use --allow-unverifi ed pygame allow). cleaning up... no distributions @ found pygame==1.9.1 (from -r requirements.txt (line 8)) storing debug log failure in /app/.pip/pip.log ! push rejected, failed compile python app git@heroku.com:intj.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed push refs 'git@heroku.com:intj.git' $
all advice appreciated. thanks!
it fails because can't install pygame. guess don't need on server, can delete pygame==1.9.1 requirements.txt.
Comments
Post a Comment