在 Anaconda 中创建 Python 3.4 环境
Creating Python 3.4 Environment in Anaconda
我在 Windows 7 上有 Python 2.7 Anaconda 64 位。
我想创建一个 Python 3.4 环境。所以在我输入的命令中:
conda create -n py34 python=3.4 anaconda
我遇到以下问题
Fetching package metadata: Could not connect to https://repo.continuum.io/pkgs/pro/noarch/
.Could not connect to https://repo.continuum.io/pkgs/pro/win-64/
.Could not connect to https://repo.continuum.io/pkgs/free/noarch/
.Could not connect to https://repo.continuum.io/pkgs/free/win-64/
然后它遍历所有包并给出另一个错误:
Could not connect to https://repo.continuum.io/pkgs/free/win-64/menuinst-1.0.4-py34_0.tar.bz2
Error: Connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590): https://repo.continuum.io/pkgs/fre
e/win-64/menuinst-1.0.4-py34_0.tar.bz2
然后当然是当我输入
activate py34
我得到:
No environment named "py34" exists in C:\Users\martbar\AppData\Local\Continuum\Anaconda\envs
任何想法可能是什么问题?我在公司 PC 上,但当我查看我 PC 上的防火墙时,它说它已关闭。
与 https://repo.continuum.io
的基础连接未通过证书验证测试。您可以在浏览器中查看您的 OS 是否缺少此证书。如果是这样,那么 运行 Windows 更新并查找可以安装的 "Update for Root Certificates for Windows 7" 条目。
我在 Windows 7 上有 Python 2.7 Anaconda 64 位。
我想创建一个 Python 3.4 环境。所以在我输入的命令中:
conda create -n py34 python=3.4 anaconda
我遇到以下问题
Fetching package metadata: Could not connect to https://repo.continuum.io/pkgs/pro/noarch/
.Could not connect to https://repo.continuum.io/pkgs/pro/win-64/
.Could not connect to https://repo.continuum.io/pkgs/free/noarch/
.Could not connect to https://repo.continuum.io/pkgs/free/win-64/
然后它遍历所有包并给出另一个错误:
Could not connect to https://repo.continuum.io/pkgs/free/win-64/menuinst-1.0.4-py34_0.tar.bz2
Error: Connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590): https://repo.continuum.io/pkgs/fre
e/win-64/menuinst-1.0.4-py34_0.tar.bz2
然后当然是当我输入
activate py34
我得到:
No environment named "py34" exists in C:\Users\martbar\AppData\Local\Continuum\Anaconda\envs
任何想法可能是什么问题?我在公司 PC 上,但当我查看我 PC 上的防火墙时,它说它已关闭。
与 https://repo.continuum.io
的基础连接未通过证书验证测试。您可以在浏览器中查看您的 OS 是否缺少此证书。如果是这样,那么 运行 Windows 更新并查找可以安装的 "Update for Root Certificates for Windows 7" 条目。