httpbin
httpbin copied to clipboard
ImportError: cannot import name 'Feature' from 'setuptools'
Installed commit f8ec666b4d1b654e4ff6aedd356f510dcac09f83
Python version: 3.7.4
Fail log
(venv) [root@mac]# pip install --no-cache-dir -r <(pipenv lock -r)
Courtesy Notice: Pipenv found itself running within a virtual environment, so it will automatically use that environment, instead of creating its own for any project. You can set PIPENV_IGNORE_VIRTUALENVS=1 to force pipenv to ignore that environment and create its own instead. You can set PIPENV_VERBOSITY=-1 to suppress this warning.
Looking in indexes: https://pypi.python.org/simple
Requirement already satisfied: brotlipy==0.7.0 in ./venv/lib/python3.7/site-packages/brotlipy-0.7.0-py3.7-macosx-10.14-x86_64.egg (from -r /dev/fd/11 (line 2)) (0.7.0)
Collecting cffi==1.11.5
Downloading cffi-1.11.5-cp37-cp37m-macosx_10_9_x86_64.whl (163 kB)
|████████████████████████████████| 163 kB 333 kB/s
Collecting click==6.7
Downloading click-6.7-py2.py3-none-any.whl (71 kB)
|████████████████████████████████| 71 kB 724 kB/s
Collecting decorator==4.3.0
28 "sha256:fa2662097c66f920f53f70621c6c58ca4a3c4d3434205e608e121b5b3b71f4f3"
Downloading decorator-4.3.0-py2.py3-none-any.whl (9.2 kB)
Collecting flasgger==0.9.0
Downloading flasgger-0.9.0-py2.py3-none-any.whl (4.2 MB)
|████████████████████████████████| 4.2 MB 2.2 MB/s
Collecting flask==1.0.2
Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB)
|████████████████████████████████| 91 kB 2.7 MB/s
Collecting gevent==1.3.4
Downloading gevent-1.3.4-cp37-cp37m-macosx_10_9_x86_64.whl (2.2 MB)
|████████████████████████████████| 2.2 MB 8.0 MB/s
Requirement already satisfied: pyyaml from git+https://github.com/yaml/pyyaml.git@a9c28e0b521967f5330f0316edd90a57f99cdd32#egg=pyyaml in ./venv/lib/python3.7/site-packages/PyYAML-5.3.1-py3.7-macosx-10.14-x86_64.egg (from -r /dev/fd/11 (line 9)) (5.3.1)
Collecting greenlet==0.4.13
Downloading greenlet-0.4.13.tar.gz (58 kB)
|████████████████████████████████| 58 kB 2.1 MB/s
Collecting gunicorn==19.9.0
Downloading gunicorn-19.9.0-py2.py3-none-any.whl (112 kB)
|████████████████████████████████| 112 kB 2.9 MB/s
Collecting itsdangerous==0.24
Downloading itsdangerous-0.24.tar.gz (46 kB)
|████████████████████████████████| 46 kB 5.7 MB/s
Collecting jinja2==2.10
Downloading Jinja2-2.10-py2.py3-none-any.whl (126 kB)
|████████████████████████████████| 126 kB 2.7 MB/s
Collecting jsonschema==2.6.0
Downloading jsonschema-2.6.0-py2.py3-none-any.whl (39 kB)
Collecting markupsafe==1.0
Downloading MarkupSafe-1.0.tar.gz (14 kB)
ERROR: Command errored out with exit status 1:
command: /Users/ashutosh/Documents/Projects/httpbin/venv/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/rz/ztff99dx1hn48g0k9tly72280000gn/T/pip-install-67g_no5a/markupsafe/setup.py'"'"'; __file__='"'"'/private/var/folders/rz/ztff99dx1hn48g0k9tly72280000gn/T/pip-install-67g_no5a/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/rz/ztff99dx1hn48g0k9tly72280000gn/T/pip-install-67g_no5a/markupsafe/pip-egg-info
cwd: /private/var/folders/rz/ztff99dx1hn48g0k9tly72280000gn/T/pip-install-67g_no5a/markupsafe/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/rz/ztff99dx1hn48g0k9tly72280000gn/T/pip-install-67g_no5a/markupsafe/setup.py", line 6, in <module>
from setuptools import setup, Extension, Feature
ImportError: cannot import name 'Feature' from 'setuptools' (/Users/ashutosh/Documents/Projects/httpbin/venv/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.