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

pip install error #5

Open
perfecto25 opened this issue Apr 3, 2018 · 1 comment
Open

pip install error #5

perfecto25 opened this issue Apr 3, 2018 · 1 comment
Assignees

Comments

@perfecto25
Copy link

mrx@mrxDEV1 ~/d/m/m/plugins (master ⚡↩) sudo pip install ssh-metro-server
Collecting ssh-metro-server
Downloading ssh_metro_server-0.1.5.tar.gz
Complete output from command python setup.py egg_info:
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-7SC0UF/ssh-metro-server/setup.py", line 82, in
'testing': requires,
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 2408, in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 2418, in resolve
raise ImportError(str(exc))
ImportError: 'module' object has no attribute 'check_specifier'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-7SC0UF/ssh-metro-server/
You are using pip version 8.1.2, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

@thilux
Copy link
Owner

thilux commented Apr 3, 2018

Hi @perfecto25,

This appears to be an issue with your version of setup tools as described here in this other bug: pypa/pip#4104

Please update setuptools and get back to me on whether that works or not.

If that doesn't work, try updating pip as suggested by pip itself on the excerpt you provided:

pip install --upgrade pip

If still that doesn't work, please let me know what is your operating system and which version and I will try to simulate the issue to go back and try to fix it.

Thank you!

@thilux thilux self-assigned this Apr 3, 2018
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

No branches or pull requests

2 participants