环境:ubuntu 1604
安装 pycurl 遇到一些问题 简单记录
1、安装 pip
python2:apt install python-pip
python3: apt install python3-pip
2、安装依赖
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
sudo apt-get install libcurl4-openssl-dev
3、更新pip
python2: pip install --upgrade pip
python3: pip3 install --upgrade pip
4、安装pycurl
python2:pip install pycurl
python3:pip3 install pycurl