File "/root/Python-3.7.0/Lib/ctypes/__init__.py", line 7, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
make: *** [install] Error 1
如果不安装openssl,在使用ssl模块时会报错
1
2
3
4
5
6
7
8
9
10
11
12
13
pip is configured with locations that require TLS/SSL, however the ssl module in Python is
not available.Collecting douyin
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after conn
ection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/douyin/ Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after conn
ection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/douyin/ Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after conn
ection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/douyin/ Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after conn
ection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/douyin/ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after conn
ection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/douyin/ Could not fetch URL https://pypi.org/simple/douyin/: There was a problem confirming the s
sl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/douyin/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping Could not find a version that satisfies the requirement douyin (from versions: )
No matching distribution found for douyin
pip is configured with locations that require TLS/SSL, however the ssl module in Python is
not available.Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl ce
rtificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
1
2
3
...
You are using pip version 10.0.1, however version 18.1is available.
You should consider upgrading via the 'pip install --upgrade pip' command.