Files
Wiki/Python/pip.md
Michael Schlapa 5731307060 pycurl
2020-07-06 15:30:48 +02:00

20 lines
578 B
Markdown

# Pip
## pycurl problems
Sometimes after installing and importing PyCURL you will see the following error message:
```
pycurl: libcurl link-time ssl backend (openssl) is different from compile-time ssl backend (none/other)
```
To correct this you need to uninstall PyCURL and reinstall it correctly:
```
pip uninstall pycurl
export PYCURL_SSL_LIBRARY=<ssl_lib>
pip install pycurl --global-option="--with-<ssl_lib>"
```
`<ssl_lib>` can be `openssl` or `nss` depending on your system.
## Make dependencies right
https://necromuralist.github.io/posts/pip-tools-and-pipdeptree/