Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade markupsafe from 1.0 to 1.1.1 #20

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

chaynsaw
Copy link
Contributor

The following error occurs on pip install -r requirements.txt while using Python 3.7.9.

I found the solution here: pallets/markupsafe#116 and updated MarkupSafe from 1.0 to 1.1.1

ERROR: Command errored out with exit status 1:
 command: /Users/chaynorhsiao/Code/REST-auth/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/5v/cz5lkd_15fl759j_38vjsthr0000gn/T/pip-install-rt5k3gwz/markupsafe/setup.py'"'"'; __file__='"'"'/private/var/folders/5v/cz5lkd_15fl759j_38vjsthr0000gn/T/pip-install-rt5k3gwz/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 /private/var/folders/5v/cz5lkd_15fl759j_38vjsthr0000gn/T/pip-pip-egg-info-ivlzia0j
     cwd: /private/var/folders/5v/cz5lkd_15fl759j_38vjsthr0000gn/T/pip-install-rt5k3gwz/markupsafe/
Complete output (5 lines):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/5v/cz5lkd_15fl759j_38vjsthr0000gn/T/pip-install-rt5k3gwz/markupsafe/setup.py", line 6, in <module>
    from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools'

@normidar
Copy link

you are right

@miguelgrinberg miguelgrinberg merged commit e12c138 into miguelgrinberg:master Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants