From 5731307060fac09660731e507e8b398451a16092 Mon Sep 17 00:00:00 2001 From: Michael Schlapa Date: Mon, 6 Jul 2020 15:30:48 +0200 Subject: [PATCH] pycurl --- Python/pip.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Python/pip.md b/Python/pip.md index 6cb6204..75a2a13 100644 --- a/Python/pip.md +++ b/Python/pip.md @@ -1,4 +1,19 @@ # 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= +pip install pycurl --global-option="--with-" +``` +`` can be `openssl` or `nss` depending on your system. + ## Make dependencies right -https://necromuralist.github.io/posts/pip-tools-and-pipdeptree/ \ No newline at end of file +https://necromuralist.github.io/posts/pip-tools-and-pipdeptree/