1.win
pip install wheel
http://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载对应的包:
pip install e:pycurl-7.43.1-cp37-cp37m-win_amd64.whl
2linux
#wget https://curl.haxx.se/download/curl-7.61.0.tar.gz
tar -zxvf curl-7.61.0.tar.gz
cd curl-7.61.0/
./configure
make && make install
export LD_LIBRARY_PATH=/usr/local/lib
#pip install pycurl