suse 11 pip pip3使用过程中遇到的各种问题
在安装完成python3.6后,使用pip3安装某些插件,报如下错误
linux-9qk9:~ # pip3 install ipython
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting ipython
Could not fetch URL https://pypi.python.org/simple/ipython/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
Could not find a version that satisfies the requirement ipython (from versions: )
No matching distribution found for ipython
我们进入Python3,结果查看到没有安装ssl,由于我们使用的是suse11系统,不想centos有Yum源可以使用命令yum install openssl-devel -y 进行ssl-devel安装,那怎么办呢,baidu了一下需要安装libopenssl,我们就把原来安装的Python3删除重新安装下
linux-9qk9:~ # python3
Python 3.6. (default, Jul , ::)
[GCC 4.3. [gcc-4_3-branch revision ]] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import ssl
Traceback (most recent call last):
File "<stdin>", line , in <module>
File "/usr/local/python3/lib/python3.6/ssl.py", line , in <module>
import _ssl # if we can't import it, let the error propagate
ModuleNotFoundError: No module named '_ssl'
>>> exit()
linux-9qk9:~ # rm -rf /usr/local/python3 //删除原来安装的python3
安装libopenssl-devel, 这个有点类似centos里面的openssl-devel包,注意版本
linux-9qk9:/tmp/software_download # rpm -qi openssl
Name : openssl Relocations: (not relocatable)
Version : 0.9.8j Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 0.50.1 Build Date: Mon Mar 25 11:10:09 2013
Install Date: Tue Jul 10 09:41:57 2018 Build Host: acklins
Group : Productivity/Networking/Security Source RPM: openssl-0.9.8j-0.50.1.src.rpm
Size : 1182276 License: BSD 3-Clause
Signature : RSA/8, Mon Mar 25 11:10:24 2013, Key ID e3a5c360307e3d54
Packager : http://bugs.opensuse.org
URL : http://www.openssl.org/
Summary : Secure Sockets and Transport Layer Security
Description :
The OpenSSL Project is a collaborative effort to develop a robust,
commercial-grade, full-featured, and open source toolkit implementing
the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
v1) protocols with full-strength cryptography. The project is managed
by a worldwide community of volunteers that use the Internet to
communicate, plan, and develop the OpenSSL toolkit and its related
documentation.
Derivation and License
OpenSSL is based on the excellent SSLeay library developed by Eric A.
Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
Apache-style license, which basically means that you are free to get it
and to use it for commercial and noncommercial purposes.
Please read the file /usr/share/doc/packages/openssl/README-FIPS.txt
for information on FIPS-140-2 compliant mode of operation of the
openssl shared libraries.
Authors:
--------
Mark J. Cox <mark@openssl.org>
Ralf S. Engelschall <rse@openssl.org>
Dr. Stephen Henson <steve@openssl.org>
Ben Laurie <ben@openssl.org>
Bodo Moeller <bodo@openssl.org>
Ulf Moeller <ulf@openssl.org>
Holger Reif <holger@openssl.org>
Paul C. Sutton <paul@openssl.org>
Distribution: SUSE Linux Enterprise 11
linux-9qk9:/tmp/software_download # rpm -ivh libopenssl-devel-0.9.8j-2.1.x86_64.rpm
warning: libopenssl-devel-0.9.8j-2.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7af5fd64
Preparing... ########################################### [100%]
1:libopenssl-devel ########################################### [100%]
linux-9qk9:/tmp/software_download #
linux-9qk9:~ # cd /tmp/software_download/Python-3.6.4/ //进入Python3安装目录
linux-9qk9:/tmp/software_download/Python-3.6.4 # ./configure --prefix=/usr/local/python3
linux-9qk9:/tmp/software_download/Python-3.6.4 # make
linux-9qk9:/tmp/software_download/Python-3.6.4 # make install
这次import ssl没有报错
linux-9qk9:/tmp/software_download # python3
Python 3.6.4 (default, Jul 11 2018, 04:13:04)
[GCC 4.3.4 [gcc-4_3-branch revision 152973]] on linux
Type "help", "copyright", "credits" or "license" for more information.
Traceback (most recent call last):
File "/etc/pythonstart", line 7, in <module>
import readline
ModuleNotFoundError: No module named 'readline'
>>> import ssl
>>>
ps,如果安装了libopenssl-devel还是不行的话,我们就要去找一台已经import ssl不报错的机器比如下面那台机器,
将_ssl.cpython-36m-x86_64-linux-gnu.so复制到/usr/local/python3/lib/python3.6/lib-dynload目录下面就可以了
inspect01:/usr/local/python3/lib/python3.6/lib-dynload # ls *ssl*
_ssl.cpython-36m-x86_64-linux-gnu.so
inspect01:/usr/local/python3/lib/python3.6/lib-dynload #
安装好以后我们在用Pip3测试下能否安装软件,可以看到这个报错像是网络不通的样子
linux-9qk9:/tmp/software_download # pip3 install ipython
Collecting ipython
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb7ceaf68d0>: Failed to establish a new connection: [Errno ] Network is unreachable',)': /simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb7ceaf6cf8>: Failed to establish a new connection: [Errno ] Network is unreachable',)': /simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb7ceaf6898>: Failed to establish a new connection: [Errno ] Network is unreachable',)': /simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb7ceaf62e8>: Failed to establish a new connection: [Errno ] Network is unreachable',)': /simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb7ceaf69b0>: Failed to establish a new connection: [Errno ] Network is unreachable',)': /simple/ipython/
Could not find a version that satisfies the requirement ipython (from versions: )
No matching distribution found for ipython
那我们来ping 一下baidu看看能不能ping通,我们看到是可以ping通的,
linux-9qk9:/tmp/software_download # ping www.baidu.com
PING www.a.shifen.com (61.135.169.121) () bytes of data.
bytes from 61.135.169.121: icmp_seq= ttl= time=25.0 ms
bytes from 61.135.169.121: icmp_seq= ttl= time=27.5 ms
^C
--- www.a.shifen.com ping statistics ---
packets transmitted, received, % packet loss, time 1001ms
rtt min/avg/max/mdev = 25.073/26.292/27.511/1.219 ms
linux-9qk9:/tmp/software_download #
那么这个是怎么一回事呢,网上搜索了很久有的说是要修改镜像源头,比如下面这个链接写的那样
https://www.cnblogs.com/biglittleant/p/6944180.html
我们按照他的方式改下看看
linux-9qk9:/tmp/software_download # mkdir ~/.pip
linux-9qk9:/tmp/software_download # vim ~/.pip/pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com :wq!
重新测试下Pip3发现还是不行,
linux-9qk9:/tmp/software_download # pip3 install ipython
Collecting ipython
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f7550191438>: Failed to establish a new connection: [Errno ] Connection refused',)': /pypi/simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f7550191be0>: Failed to establish a new connection: [Errno ] Connection refused',)': /pypi/simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f7550191c88>: Failed to establish a new connection: [Errno ] Connection refused',)': /pypi/simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f7550191ef0>: Failed to establish a new connection: [Errno ] Connection refused',)': /pypi/simple/ipython/
Retrying (Retry(total=, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.HTTPConnection object at 0x7f7550191c18>: Failed to establish a new connection: [Errno ] Connection refused',)': /pypi/simple/ipython/
Could not find a version that satisfies the requirement ipython (from versions: )
No matching distribution found for ipython
这下比较麻烦了,搜索了半天百度也没发现什么好的解决办法,网也通的,镜像也设置了,还能怎么搞呢,后来想来想去估计还是网络问题,我们先把他的国内镜像删除
linux-9qk9:/tmp/software_download # rm -rf ~/.pip
查看网络,我这里虚拟机用的是一个网卡,桥接模式
linux-9qk9:/tmp/software_download #
linux-9qk9:/tmp/software_download # ifconfig
eth0 Link encap:Ethernet HWaddr :0C::::7E
inet addr:172.16.19.71 Bcast:172.16.19.127 Mask:255.255.255.128
inet6 addr: fe80::20c:29ff:fe67:547e/ Scope:Link
UP BROADCAST RUNNING MULTICAST MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (48.1 Mb) TX bytes: (6.4 Mb) lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::/ Scope:Host
UP LOOPBACK RUNNING MTU: Metric:
RX packets: errors: dropped: overruns: frame:
TX packets: errors: dropped: overruns: carrier:
collisions: txqueuelen:
RX bytes: (219.0 Mb) TX bytes: (219.0 Mb) linux-9qk9:/tmp/software_download #
我们再来添加一个网卡,NAT模式
linux-9qk9:/etc/sysconfig/network # ls
config dhcp if-down.d if-up.d ifcfg-eth0 ifcfg-lo ifcfg.template ifroute-lo providers routes scripts
linux-9qk9:/etc/sysconfig/network #
linux-9qk9:/etc/sysconfig/network # view ifcfg-eth1
BOOTPROTO='static' #静态IP
BROADCAST='192.168.27.255' #广播地址
IPADDR='192.168.27.4' #IP地址
NETMASK='255.255.255.0' #子网掩码
NETWORK='192.168.27.0' #网络地址
STARTMODE='auto' #开机启动网络
wq!
linux-9qk9:/etc/sysconfig/network # view routes
default 192.168.27.2 #这个是对应的网关,和你虚拟机里面设置的一样
wq!
linux-9qk9:/etc/sysconfig/network # view /etc/resolv.conf


重启网络
linux-9qk9:~ # service network restart
查看新ip地址
linux-9qk9:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:67:54:7E
inet addr:172.16.19.71 Bcast:172.16.19.127 Mask:255.255.255.128
inet6 addr: fe80::20c:29ff:fe67:547e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:966 errors:0 dropped:0 overruns:0 frame:0
TX packets:303 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:196254 (191.6 Kb) TX bytes:40638 (39.6 Kb)
eth1 Link encap:Ethernet HWaddr 00:0C:29:67:54:88
inet addr:192.168.27.4 Bcast:192.168.27.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe67:5488/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:866 (866.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:46 errors:0 dropped:0 overruns:0 frame:0
TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3140 (3.0 Kb) TX bytes:3140 (3.0 Kb)
重新用pip3安装,发现报错不一样了,这是一个好现象,
linux-9qk9:~ # pip3 install ipython
Collecting ipython
Could not fetch URL https://pypi.python.org/simple/ipython/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:777) - skipping
Could not find a version that satisfies the requirement ipython (from versions: )
No matching distribution found for ipython
我们在把前面的国内镜像源添加下
linux-9qk9:~ # mkdir ~/.pip
linux-9qk9:~ # view ~/.pip/pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
我们可以看到这次pip3 install成功了
linux-9qk9:~ # pip3 install ipython
Collecting ipython
Downloading http://mirrors.aliyun.com/pypi/packages/b1/7f/91d50f28af3e3a24342561983a7857e399ce24093876e6970b986a0b6677/ipython-6.4.0-py3-none-any.whl (750kB)
% |████████████████████████████████| 757kB 393kB/s
Collecting traitlets>=4.2 (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/93/d6/abcb22de61d78e2fc3959c964628a5771e47e7cc60d53e9342e21ed6cc9a/traitlets-4.3.2-py2.py3-none-any.whl (74kB)
% |████████████████████████████████| 81kB 421kB/s
Collecting decorator (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/bc/bb/a24838832ba35baf52f32ab1a49b906b5f82fb7c76b2f6a7e35e140bac30/decorator-4.3.0-py2.py3-none-any.whl
Collecting pickleshare (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/9f/17/daa142fc9be6b76f26f24eeeb9a138940671490b91cb5587393f297c8317/pickleshare-0.7.4-py2.py3-none-any.whl
Collecting pygments (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl (841kB)
% |████████████████████████████████| 849kB 394kB/s
Collecting prompt-toolkit<2.0.,>=1.0. (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/04/d1/c6616dd03701e7e2073f06d5c3b41b012256e42b72561f16a7bd86dd7b43/prompt_toolkit-1.0.15-py3-none-any.whl (247kB)
% |████████████████████████████████| 256kB 380kB/s
Collecting simplegeneric>0.8 (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/3d/57/4d9c9e3ae9a255cd4e1106bb57e24056d3d0709fc01b2e3e345898e49d5b/simplegeneric-0.8.1.zip
Collecting backcall (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/1b/b3/0708228132a772de8802967af71d00c6b1f2f407e6f8efcc7055ac5900fe/backcall-0.1.0.zip
Collecting pexpect; sys_platform != "win32" (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/89/e6/b5a1de8b0cc4e07ca1b305a4fcc3f9806025c1b651ea302646341222f88b/pexpect-4.6.0-py2.py3-none-any.whl (57kB)
% |████████████████████████████████| 61kB 418kB/s
Collecting jedi>=0.10 (from ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/3d/68/8bbf0ef969095a13ba0d4c77c1945bd86e9811960d052510551d29a2f23b/jedi-0.12.1-py2.py3-none-any.whl (174kB)
% |████████████████████████████████| 184kB 409kB/s
Requirement already satisfied: setuptools>=18.5 in /usr/local/python3/lib/python3./site-packages (from ipython)
Collecting ipython-genutils (from traitlets>=4.2->ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting six (from traitlets>=4.2->ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.,>=1.0.->ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/d1/29/605c2cc68a9992d18dada28206eeada56ea4bd07a239669da41674648b6f/ptyprocess-0.6.0-py2.py3-none-any.whl
Collecting parso>=0.3. (from jedi>=0.10->ipython)
Downloading http://mirrors.aliyun.com/pypi/packages/31/19/ae6ded1b16b596e594dffe1916b365c658ddf93396824ed069a60da22b79/parso-0.3.0-py2.py3-none-any.whl (88kB)
% |████████████████████████████████| 92kB 389kB/s
Installing collected packages: ipython-genutils, decorator, six, traitlets, pickleshare, pygments, wcwidth, prompt-toolkit, simplegeneric, backcall, ptyprocess, pexpect, parso, jedi, ipython
Running setup.py install for simplegeneric ... done
Running setup.py install for backcall ... done
Successfully installed backcall-0.1. decorator-4.3. ipython-6.4. ipython-genutils-0.2. jedi-0.12. parso-0.3. pexpect-4.6. pickleshare-0.7. prompt-toolkit-1.0. ptyprocess-0.6. pygments-2.2. simplegeneric-0.8. six-1.11. traitlets-4.3. wcwidth-0.1.
linux-9qk9:~ #
suse 11 pip pip3使用过程中遇到的各种问题的更多相关文章
- pip install 执行过程中遇到的各种问题
一.pip install 安装指定版本的包 要用 pip 安装指定版本的 Python 包,只需通过 == 操作符 指定. pip install robotframework == 2.8.7 将 ...
- 我在Suse 11 Sp3上使用anaconda安装TensorFlow的过程记录
我在Suse 11 Sp3上使用anaconda安装TensorFlow的过程记录 准备安装包: gcc48 glibc--SP4-DVD-x86_64-GM-DVD1.iso tensorflow_ ...
- 在 SUSE 11 sp2 上安装 freeradius
国内私募机构九鼎控股打造APP,来就送 20元现金领取地址:http://jdb.jiudingcapital.com/phone.html 内部邀请码:C8E245J (不写邀请码,没有现金送) 国 ...
- Suse 11 sp4 安装Oracle 11g
环境信息 suse 11 sp4 64位 企业版配置:虚拟机,1U4CORE,4GB内存,100GB存储(实际可用空间20GB) linux环境配置修改 在安装oracle之前,需要先对linux 的 ...
- SUSE 11 SP3 搭建weblogic服务
环境的搭建和业务需求相关,仅供参考 环境: SUSE 11 SP3 安装步骤 创建一个weblogic组 创建一个用户名为weblogic的用户, 创建相关目录 上传jdk,脚本等 安装 创建用户及其 ...
- node 在centos 6.5 上 安装过程中出现/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.19' not found问题的解决
node 在centos 6.5 上 安装过程中出现/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.19' not found问题的解决 在linux ...
- zabbix 3.0.3 (nginx)安装过程中的问题排错记录
特殊注明:安装zabbix 2.4.8和2.4.6遇到2个问题,如下:找了很多解决办法,实在无解,只能换版本,尝试换(2.2.2正常 | 3.0.3正常)都正常,最后决定换3.0.3 1.Error ...
- 测试或运维工作过程中最常用的几个linux命令?
大家在测试工作过程中,可能会遇到需要你去服务器修改一些配置文件,譬如说某个字段的值是1 则关联老版本,是0则关联新版本,这时候你可能就需要会下vi的命令操作:或者查看session设置的时长,可能需 ...
- Atomikos的使用过程中要注意的事
在使用Atomikos过程中遇到的一些问题,以作记录: MySQL does not support TMJOIN MySQL does not allow for joining an existi ...
随机推荐
- 吴裕雄 python 数据可视化
import pandas as pd df = pd.read_csv("F:\\python3_pachongAndDatareduce\\data\\pandas data\\taob ...
- 字符编码:Unicode和UTF-8之间的关系
Unicode和UTF-8之间的关系 1. ASCII码 我们知道,在计算机内部,所有的信息最终都表示为一个二进制的字符串.每一个二进制位(bit)有0和1两种状态,因此八个二进制位就可以组合出256 ...
- 从零开始学spring cloud(十一) -------- hystrix监控
一.官方文档阅读 服务启动后,可以通过/health和hystrix.stream查看效果,实际上,访问上述两个地址,会出现404,这是因为spring boot版本的问题, 我在这里使用的sprin ...
- JVM学习04:类的文件结构
JVM学习04:类的文件结构 写在前面:本系列分享主要参考资料是 周志明老师的<深入理解Java虚拟机>第二版. 类的文件结构知识要点Xmind梳理
- canvas 的HTML属性
(一) width/height 默认值与单位 Canvas 标签只有两个属性—— width\height,作为一种替换元素,它默认大小为300×150像素. canvas的单位只能是是px,值只 ...
- 思科模拟器GNS3-2.1.8安装笔记 (适用于版本2.0.3以上的GNS3)
当前现阶段学习经常使用的路由交换设备主要来自于思科.华为和华三三家,这三家的设备操作配置大致类似,却又不尽相同.因为实体设备通常都非常昂贵,所以作为学习,我们通常会使用它们提供的模拟器.华为的模拟器是 ...
- linux上遇到tomcat报Out of Memory错误,导致jenkins崩溃的问题
今天遇到一个问题,就是JENKINS在同时部署两个前端应用时会出现崩溃的现象. 排查过程如下 查看tomcat-jenkins/bin/hs_err_pid27127.log发现: Out of Me ...
- exl表格找两个字符间的数据
例子找的是]XXX,中间的内容 =MID(B2,FIND("]",B2)+1,FIND(",",B2)-FIND("]",B2)-1) ...
- node 常用模块及方法fs,url,http,path
http://www.cnblogs.com/mangoxin/p/5664615.html https://www.liaoxuefeng.com/wiki/001434446689867b2715 ...
- 解决代理池的问题AttributeError: 'int' object has no attribute 'items'
https://blog.csdn.net/mygodit/article/details/86689127