need to install package certifi to get pipenv to work
See original GitHub issueI’m on ubuntu 16, I installed pipenv with pip install --user pipenv (in this case, pip is the system pip)
that installed pipenv into ~/.local/bin and ~/.local/lib/python2.7/site-packages
using pipenv install sqlalchemy failed with
File "/home/bkc/.local/lib/python2.7/site-packages/pipenv/vendor/requests/packages/urllib3/contrib/pyopenssl.py", line 411, in load_verify_locations
self._ctx.load_verify_locations(cafile, capath)
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 528, in load_verify_locations
_raise_current_error()
File "/usr/lib/python2.7/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue
raise exception_type(errors)
Error: [('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]
in another shell (w/o an activated virtualenv) I then did pip install --user certifi
now pipenv install sqlachemy works as expected
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to make pipenv install <package> use SSL certificate of ...
1 Answer 1 · setting a HTTPS proxy (in this case Charles) · save the Charles certificate in a .pem file · try...
Read more >Basic Usage of Pipenv - Read the Docs
$ pipenv install is used for installing packages into the pipenv virtual environment and updating your Pipfile. Along with the basic install command,...
Read more >Advanced Usage of Pipenv - Python Packaging Authority
We're actively working to solve this problem. You may have great luck with this, however. Installation is intended to be as deterministic as...
Read more >Pipenv: A Guide to the New Python Packaging Tool
Pipenv has virtual environment management built in so that you have a single ... That way, pip can resolve this conflict and install...
Read more >pipenv · PyPI
Install all dev dependencies: ... $ pipenv install --dev Pipfile found at /Users/kennethreitz/repos/kr/pip2/test/Pipfile. Considering this to be the project home.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alright, this was a wheel issue because we didn’t specify
include_package_data
in our setup.py. I’ve pushed 06acad1 to resolve this, so it will be fixed in the next release. In the meantime, you’ll need to install certifi to resolve this.If anyone is having trouble with this when using Ansible… SOLUTION BELOW
I was trying to install
pipenv
, and was getting an error aboutcertifi
. It did mention in the error message about using a flag--user
. So here’s my working task.