opensea-creatures icon indicating copy to clipboard operation
opensea-creatures copied to clipboard

Issues Deploying App.py on GCP

Open schwjustin opened this issue 4 years ago • 0 comments

I created a GCP project to deploy my modified version of app.py. When I try to deploy, I get this error:

Collecting MarkupSafe==1.0 Downloading MarkupSafe-1.0.tar.gz (14 kB) ERROR: Command errored out with exit status 1: command: /layers/google.python.pip/pip/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-8vf9wn3f/markupsafe/setup.py'"'"'; __file__='"'"'/tmp/pip-install-8vf9wn3f/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-pggjh6hk cwd: /tmp/pip-install-8vf9wn3f/markupsafe/ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-8vf9wn3f/markupsafe/setup.py", line 6, in <module> from setuptools import setup, Extension, Feature ImportError: cannot import name 'Feature' from 'setuptools' (/opt/python3.7/lib/python3.7/site-packages/setuptools/__init__.py) ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I tried modifying some of the library versions in requirements.txt but that resulted in other errors.

schwjustin avatar Dec 06 '21 23:12 schwjustin