要解决此问题,您需要下载安装程序尝试获取的tar文件(即使使用Windows),然后使用脱机模式:
使用此命令将出错,以确定要下载的文件:
>conda install -c https://conda.binstar.org/pymc pymc Fetching package metadata: SSL verification error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) .... Solving package specifications: ...................... The following packages will be downloaded: package | build ---------------------------|----------------- pymc-2.3.5 | np110py35_0 402 KB defaults The following NEW packages will be INSTALLED: pymc: 2.3.5-np110py35_0 defaults Proceed ([y]/n)? y Fetching packages ... Could not connect to https://repo.continuum.io/pkgs/free/win-64/pymc-2.3.5-np110py35_0.tar.bz2 ... [error message continues]...
现在下载错误消息中提到的tar文件:
https://repo.continuum.io/pkgs/free/win-64/pymc-2.3.5-np110py35_0.tar.bz2
然后使用tar文件的路径运行此命令:
>conda install --offline C:\pymc-2.3.5-np110py35_0.tar.bz2