excited truck
I am trying to follow this tutorial by getting the app online on heroku, after cloning the repository and git push heroku deploy:master,
I get this error:
Downloading MarkupSafe-1.0.tar.gz (14 kB)
remote: ERROR: Command errored out with exit status 1:
remote: command: /app/.heroku/python/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cssmcnfg/MarkupSafe/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cssmcnfg/MarkupSafe/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-_f6vu552
remote: cwd: /tmp/pip-install-cssmcnfg/MarkupSafe/
remote: Complete output (5 lines):
remote: Traceback (most recent call last):
remote: File "<string>", line 1, in <module>
remote: File "/tmp/pip-install-cssmcnfg/MarkupSafe/setup.py", line 6, in <module>
remote: from setuptools import setup, Extension, Feature
remote: ImportError: cannot import name 'Feature'
remote: ----------------------------------------
remote: ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to flask-microblogf.
remote:
Somethings I have tried:
- updating pip
- downloading the zip file and retryng
-running it on virtual environment
-https://github.com/pypa/setuptools/issues/2017 tried following something on this forum eg. pip3 install setuptools==45
I am quite a novice at coding in general, but hope I have conveyed the issue. Thanks a lot!