使用命令conda create -n 环境名称 python=3.7
出现问题
Collecting package metadata (current_repodata.json): failed
CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.
Exception: HTTPSConnectionPool(host='mirrors.tuna.tsinghua.edu.cn', port=443): Max retries exceeded with url: /anaconda/cloud/conda-forge/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
解决办法:
1.找到anaconda安装路径依次进入Library>>bin这两个文件夹内,搜索找到libcrypto-1_1-x64.dll
和libssl-1_1-x64.dll
这两个文件,复制到某个地方(后面使用)
2.将上面两个文件复制到下面说的文件内:anaconda安装路径>>DLLs
注意:欢迎转载,转载时请注明来源