怎样安装OpenSSL
在学习Python课程安装scripy时安装到OpenSSL时就出现各种各样的问题,用pip install OpenSSL提示SSLError: ('The read operation timed out',),按照百度的方法增加超时时间pip --default-timeout=100install OpenSSL,又出现以下问题Downloading/unpacking OpenSSLCannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement OpenSSL
Cleaning up...
No distributions at all found for OpenSSL
Storing debug log for failure in C:\Users\Administrator\pip\pip.log,想请问一下有大神知道要怎样安装吗?{:5_107:} 换个镜像源试试? 本帖最后由 suchocolate 于 2020-9-13 14:15 编辑
1.临时使用阿里云pip源:
# cmd下
python -m pip install OpenSSL -i https://mirrors.aliyun.com/pypi/simple
2.永久使用阿里云pip源:
1)在你的家目录下新建pip文件夹:
C:\Users\administrator\pip
--------------------------------------------------------------------------------
2)新建文件:pip.ini,写入以下信息:
--------------------------------------------------------------------------------
index-url = https://mirrors.aliyun.com/pypi/simple/
trusted-host=mirrors.aliyun.com
--------------------------------------------------------------------------------
可以试试这个命令
pip install OpenSSL -i https://pypi.tuna.tsinghua.edu.cn/simple
页:
[1]