Anaconda3无法在Windows 10上使用Linux Bash Shell

2024-04-16 04:44:10 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经在Windows10的这个Linux子系统上安装了Anaconda3。它起作用了。像ipythonjupyter notebook这样的命令工作得非常好,就像我在工作计算机上的Ubuntu系统中那样。which python还显示{}。在

一切似乎都很好。但是,当我试图安装theanopymc3,或者只是用conda install theano来检查scipy,我得到了以下结果:

 Dida@DESKTOP-3H53T9M:~$ conda install theano
 Fetching package metadata ...
 CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/main/linux-64/repodata.json.bz2>
 Elapsed: -

 An HTTP error occurred when trying to retrieve this URL.
 HTTP errors are often intermittent, and a simple retry will get you on your way.
 SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.continuum.io\',
 port=443): Max retries exceeded with url:
 /pkgs/main/linux-64/repodata.json.bz2 (Caused by SSLError("Can\'t
 connect to HTTPS URL because the SSL module is not available.",))',),)

我不知道怎么解决它。我知道这个bashshell是Beta版本,但直到今天一切都很好。在

似乎最简单的解决方案是安装原生Pythonwindows。。。或者尝试在没有conda的情况下安装python。但我想在这个Bash Shell中工作。在

编辑1:当我键入conda config --show时,它显示

^{pr2}$

我不喜欢没有ssl证书的部分。在


Tags: installtoiojsonhttpurlmainlinux