python无法安装pycurl_python 安装pycurl

yum install libghc-gnutls-dev opnssl nss -y

126 yum install libghc-gnutls-dev -y

127 yum install https://centos7.iuscommunity.org/ius-release.rpm -y

128 yum install python36u -y

129 ln -s /bin/python3.6 /bin/python3

130 yum install python36u-pip -y

131 ln -s /bin/pip3.6 /bin/pip3

132 yum install libcurl-devel -y

133 yum install python36u-devel -y

134 yum install gcc openssl-devel libffi-devel python-devel -y

135 pip3.6 install cryptograph

136 pip3.6 install --upgrade pip3.6

137 pip3.6 install --upgrade pip

138 cd /usr/local/src/

139 ls

140 wget https://curl.haxx.se/download/curl-7.61.0.tar.gz

141 tar zxvf curl-7.61.0.tar.gz

142 cd curl-7.61.0

143 ./configure --prefix=/usr/local/ --without-ssl --with-nss

144 make

145 make install

126 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

127 wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

128 yum group install list

129 yum group install Devepment tools -y

130 yum groupinstall Development tools -y

131 pip install wheel

132 pip3.6 install wheel

133 #

134 pip3 install --compile --install-option="--with-openssl" pycurl

135 yum install supervisor -y

136 supervisord -c /etc/supervisord.conf

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

--prefix=/usr/local/ --without-ssl --with-nss

make

make install

pip install --compile --install-option="--with-openssl" pycurl

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值