Closed avivace closed 4 years ago
Hi @avivace, there are two takes on this:
1) Which OS you are using? You may need to install some system packages, e.g. for CentOS it is necessary to have libcurl-devel
installed. (See our Dockerfile.)
2) People may be using cernopendata-client
on many systems, so ideally we could take this occasion @ParthS007 and revive the old idea of making pycurl
an optional dependency. That is, check if it is there, and if not, simply use requests
or other such built-in mechanism for downloading files.
The item 1 is a quick fix for @avivace, the item 2 is more work, but perhaps worth to take already now?
Hi @tiborsimko and @ParthS007 and thanks for the troubleshooting!
I'm on Debian Sid. I've installed python-pycurl libcurl4-openssl-dev libssl-dev
and that definitely fixed the issue, I'm now able to run the cernopendata-client
executable from the shell.
Environment: Python3.8, pip 19.2.3
Running
pip install cernopendata-client
gives:Maybe a paragraph in the README could also explain how to manually install this, not using pip?