Closed hackerunet closed 6 years ago
This is the last error I found on pip.log after uninstalling all packages and trying to reinstall pusher only.
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1091, in prepare_files
req_to_install.check_if_exists()
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 815, in check_if_exists
existing_dist = pkg_resources.get_distribution(self.req.project_name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 349, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 229, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 745, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 644, in resolve
raise VersionConflict(dist, req)
VersionConflict: (urllib3 1.9.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('urllib3==1.17'))
I have uninstalled everything and reinstalled and I got back to the previous error:
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 303, in load_verify_locations
raise TypeError("cafile must be None or a byte string")
TypeError: cafile must be None or a byte string
This looks like it could be related to #67? Do you have any luck trying different versions of pyopenssl?
Hello...
See here: sudo apt-get install build-essential libssl-dev libffi-dev python-dev
Use those dependencies. That should do the trick. Debian does not come with them already installed.
Seth
I've added a note to install OpenSSL on linux in https://github.com/pusher/pusher-http-python/commit/069d112056f1581f0b7c804aead746119d807380
Hello, I have issues installing pusher with pip, when I did pip install pusher I got this:
And when I try to use it I got this error:
After seeing this I try easy_install cryptography and it installed more packages but then when I run the program again I got this:
Please help.