Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

Error with importing module MarkupSafe==1.0 #12

@nmkmms

Description

@nmkmms

Run both on macOS and Ubuntu, and get the same results.
Get error when entered command pip install -r requirements.txt

ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-bfzg41ju/markupsafe_be07ac2537f04f1eacbef67b93bd8dd4/setup.py'"'"'; file='"'"'/tmp/pip-install-bfzg41ju/markupsafe_be07ac2537f04f1eacbef67b93bd8dd4/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-905vcjc2
cwd: /tmp/pip-install-bfzg41ju/markupsafe_be07ac2537f04f1eacbef67b93bd8dd4/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-bfzg41ju/markupsafe_be07ac2537f04f1eacbef67b93bd8dd4/setup.py", line 6, in
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools' (/usr/local/lib/python3.9/site-packages/setuptools/init.py)

ERROR: Could not find a version that satisfies the requirement MarkupSafe==1.0
ERROR: No matching distribution found for MarkupSafe==1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions