An error encountered while implementing PIP install:
~]# PIP install-u docker-compose
.................
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-XPRUHU/pycparser/setup.py", line 65, in <module>
cmdclass={'install': install, 'sdist': sdist},
File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
_Distribution.__init__(self,attrs)
File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 302, in finalize_options
ep.load()(self, ep.name, value)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2341, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2351, in resolve
raise ImportError(str(exc))
ImportError: 'module' object has no attribute 'check_specifier'
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-XPRUHU/pycparser/
The solution is to simply update setuptools and PIP:
~]# PIP install –upgrade setuptools & & python -m pip install –upgrade pip
Read More:
- 53 Command “python setup.py egg_info“ failed with error
- Command errored out with exit status 1: python setup.py egg_info Check the logs for full command ou
- Mac install pycurl error: python setup.py egg_info" failed with error code 1”
- ERROR: Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-install-zsbbp6ce/mysq
- Command “python setup.py egg_info” failed with error code 1 in /private/var/folders/14/4hz051qx0wqd3
- Error: command error out with exit status 1: Python setup.py egg_ info Check the ”
- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm
- Error: command error out with exit status 1: Python when installing mysqlclient in centos7 setup.py egg_ info Check
- Error: command error out with exit status 1: Python when installing mysqlclient in django2.0 setup.py egg_ info
- Error: command error out with exit status 1: Python setup.py egg_ inf
- About Python setup.py Install error
- How to Fix Error in python3 | PIP install Dlib
- Running setup.py install for sasl … error
- # pip install scipy — distutils.errors.LinkError: Command
- Ubuntu has solved the error of h5py installation: building wheel for h5py( setup.py )… or error: failed building wheel for h5py
- Building wheel for vrep-api-python (setup.py) … error ERROR: Command errored out with exit statu
- Syntaxerror: invalid syntax when executing PIP install XXX
- Configuration (9) to solve the problem of “setup tools PIP wheel failed with error code 1”, create virtual environments with Python of anaconda
- Building wheel for wrapt (setup.py) … error
- Error in PIP install BS4 under Linux