源激活和conda创建不适用于bash外壳

时间:2020-05-06 07:00:21

标签: conda git-bash

我正在处理干旱气候指数的计算,为此我必须在Windows 10系统下安装一个bash外壳。我已经做到了,现在有两个版本的bash shell:Cygwin和Babun。

但是当我尝试在bash shell中创建新的python环境时,出现以下错误:

harve@DESKTOP-P9EREI9 ~
$ conda
-bash: conda: command not found

harve@DESKTOP-P9EREI9 ~
$ source C:/Users/harve/Anaconda3/etc/profile.d/conda.sh

harve@DESKTOP-P9EREI9 ~
$ conda create -n py_indices
Collecting package metadata (current_repodata.json): done
Solving environment: done

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pk
gs/main/win-64/current_repodata.json>
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.


If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

'https://repo.anaconda.com/pkgs/main/win-64'

所以看来我遇到了一些HTTP错误。我已经关闭了所有防火墙防御程序,尝试重新启动,尝试关闭并重新运行...它们都不起作用。

有人知道如何转发吗?

非常感谢!

0 个答案:

没有答案