Seite 1 von 1

bug in dependency for webinterface(pycurl library)

Verfasst: Fr 12. Okt 2018, 15:27
von 1john2
Hi guys,
I try to enable MFBot v5.0.0.4 and webinterface.
Environment:
OpenVZ based container with latest Centos 7.5 as a host.
Docker container (version 1.10.3 due compatilibty reasons with OpnVZ kernel) and latest Centos 7.5 userspace for MFBot and webinterface.

Deployment fails due bug in pycurl dependency.
Bug in this forum is only for future reference.
This bug was already reported in upstream:
https://github.com/pycurl/pycurl/issues/526

Steps to reproduce:
1) Inside docker container unpack webinterface.zip
2) run python3.6 -m pip install -r requirements.txt
3) fails due error in pycurl:
__main__.ConfigurationError: Curl is configured to use SSL, but we have not been able to determine which SSL backend it is using. Please see PycURL documentation for how to specify the SSL backend manually.
4) Solution:
export PYCURL_SSL_LIBRARY=nss
run pip install again

BR Jan