win10安装python--pycurl模块

方法一:
a.下载curl
b.进入解压文件,进行编译安装:
./configure
make
make install

c.下载pycurl
python setup.py install
import pycurl
方法二:
a.安装pip
b.安装依赖库
yum -y install libcurl libcurl-devel
c.安装pycurl
export PYCURL_SSL_LIBRARY=nss
pip install pycurl

标签: none