FS#57923 - [python-pipenv] [python-requests] cryptography>=1.3.4 distribution was not found
Attached to Project:
Community Packages
Opened by oneup40 (oneup40) - Friday, 23 March 2018, 03:47 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 07 April 2018, 14:02 GMT
Opened by oneup40 (oneup40) - Friday, 23 March 2018, 03:47 GMT
Last edited by Morten Linderud (Foxboron) - Saturday, 07 April 2018, 14:02 GMT
|
Details
Description: pipenv2 immediately exits with an error when I
try to run it:
Traceback (most recent call last): File "/usr/bin/pipenv2", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3088, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3072, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3101, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 576, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 589, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 778, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'cryptography>=1.3.4' distribution was not found and is required by requests Additional info: * python2-pipenv version: 11.9.0-1 Steps to reproduce: Install python2-pipenv. Execute pipenv2 --help. It immediately exits with the error pasted above. Other notes: This specific message goes away if I install python2-cryptography. Then the last line of the error changes to: pkg_resources.DistributionNotFound: The 'pyOpenSSL>=0.14' distribution was not found and is required by requests After also installing python2-pyopenssl, pipenv2 works as normal. |
This task depends upon
Closed by Morten Linderud (Foxboron)
Saturday, 07 April 2018, 14:02 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 11.9.0-3
Saturday, 07 April 2018, 14:02 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with 11.9.0-3
pyOpenSSL>=0.14
cryptography>=1.3.4
idna>=2.0.0
for the "security" extension to requests, and partially due to the fact that pipenv depends on
requests[security]
thereby having a hard dependency on those optional deps.