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

 

posted @   滴滴滴  阅读(1596)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· Docker 太简单,K8s 太复杂?w7panel 让容器管理更轻松!
点击右上角即可分享
微信分享提示