Python 2.7 RuntimeError:此命令正在脱机模式下使用远程连接。[CondaError]
当我在conda中创建环境时,我在Python 2.7 RuntimeError:此命令正在脱机模式下使用远程连接。[CondaError],python-2.7,anaconda,conda,Python 2.7,Anaconda,Conda,当我在conda中创建环境时,我在procedureresponse: [root@MyServer]#conda create -n py26 python=2.6 anaconda --offline Fetching package metadata ......... Solving package specifications: .............. ...................... .... ... Proceed ([y]/n)? y CondaError
procedure
response:
[root@MyServer]#conda create -n py26 python=2.6 anaconda --offline
Fetching package metadata .........
Solving package specifications: ..............
......................
....
...
Proceed ([y]/n)? y
CondaError: RuntimeError(u'EnforceUnusedAdapter called with url https://repo.continuum.io/pkgs/free/linux-64/jpeg-8d-0.tar.bz2\nThis command is using a remote connection in offline mode.\n',)
CondaError: RuntimeError(u'EnforceUnusedAdapter called with url https://repo.continuum.io/pkgs/free/linux-64/jpeg-8d-0.tar.bz2\nThis command is using a remote connection in offline mode.\n',)
CondaError: RuntimeError(u'EnforceUnusedAdapter called with url https://repo.continuum.io/pkgs/free/linux-64/jpeg-8d-0.tar.bz2\nThis command is using a remote connection in offline mode.\n',)
即使我可以看到我的环境已经成功地创建了:
[root@MyServer]# conda env list
# conda environments:
#
py26 /opt/Anaconda/Anaconda2-4.4.0/envs/py26
py27 /opt/Anaconda/Anaconda2-4.4.0/envs/py27
root * /opt/Anaconda/Anaconda2-4.4.0
这是我创建的错误影响环境吗?经过几个小时的搜索,我发现这个问题来自Conda版本
4.3.x
上的一个错误:
要解决此问题,您必须安装Conda4.4.x
此外,您必须查看此版本上的,以便在shel中启用conda:经过几个小时的搜索,我发现此问题来自conda版本
4.3.x
上的一个错误:
要解决此问题,您必须安装Conda4.4.x
此外,您必须在此版本上签出以启用shel中的conda:更新链接已断开:-(更新链接已断开:-(