Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 2.7 RuntimeError:此命令正在脱机模式下使用远程连接。[CondaError]_Python 2.7_Anaconda_Conda - Fatal编程技术网

Python 2.7 RuntimeError:此命令正在脱机模式下使用远程连接。[CondaError]

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

当我在conda中创建环境时,我在
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
上的一个错误:

要解决此问题,您必须安装Conda
4.4.x


此外,您必须查看此版本上的,以便在shel中启用conda:

经过几个小时的搜索,我发现此问题来自conda版本
4.3.x
上的一个错误:

要解决此问题,您必须安装Conda
4.4.x


此外,您必须在此版本上签出以启用shel中的conda:

更新链接已断开:-(更新链接已断开:-(