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

urllib3 not found on debian but i did install python-urllib3! #23

Closed
samos1808 opened this issue Mar 16, 2018 · 1 comment
Closed

urllib3 not found on debian but i did install python-urllib3! #23

samos1808 opened this issue Mar 16, 2018 · 1 comment

Comments

@samos1808
Copy link

running command : python3 setup.py install
get following infomations:
Installing dptrp1 script to /usr/local/bin Installed /usr/local/lib/python3.4/dist-packages/dpt_rp1_py-0.1.0-py3.4.egg Processing dependencies for dpt-rp1-py==0.1.0 Searching for urllib3>=1.22 Reading https://pypi.python.org/simple/urllib3/ Download error on https://pypi.python.org/simple/urllib3/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600) -- Some packages may not be found! Couldn't find index page for 'urllib3' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600) -- Some packages may not be found! No local packages or download links found for urllib3>=1.22 error: Could not find suitable distribution for Requirement.parse('urllib3>=1.22')
i check my system did installed all urllib3 but the package name on debian is python3-urllib3 and python-urllib3 .

so after installed dptrp1. running command dptrp1 i get:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 449, in _build_master
ws.require(requires)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 745, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 644, in resolve
raise VersionConflict(dist, req)
pkg_resources.VersionConflict: (urllib3 1.9.1 (/usr/lib/python3/dist-packages), Requirement.parse('urllib3>=1.22'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/dptrp1", line 4, in
import('pkg_resources').run_script('dpt-rp1-py==0.1.0', 'dptrp1')
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2876, in
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 451, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 464, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: urllib3>=1.22

any ideas about this error?

@janten
Copy link
Owner

janten commented Apr 4, 2018

Maybe there is a separate python3-urllib3 package? Otherwise, just install urllib using pip3.

@janten janten closed this as completed Mar 28, 2019
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