DigitalGlobe / gbdxtools

(Deprecated) Python SDK for using GBDX
MIT License
74 stars 57 forks source link

Curl and SSL problems when installing on OS X #752

Closed drwelby closed 5 years ago

drwelby commented 5 years ago

Users installing gbdxtools on OS X Mojave have encountered:

__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.

Fix appears to be:

>> brew install openssl
>> PYCURL_SSL_LIBRARY=openssl LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS="-I/usr/local/opt/openssl/include" pip install --no-cache-dir pycurl
>> pip install gbdxtools 

This would be in a new env, if pycurl or gbdxtools are already installed they should be uninstalled first.