首页 > 解决方案 > Windows Powershell 中的 CondaHTTPError

问题描述

尝试使用 conda ( conda create -n myenv) 创建新环境时,我在 windows powershell 中收到以下错误。

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/win-64/repodata.json.bz2
Elapsed: -

我检查了:https ://github.com/conda/conda/issues/8046但没有运气。

标签: conda

解决方案


我的问题原来与powershell有关。

运行后:set-executionpolicy remotesigned在管理员 powershell 中并重新启动错误消失了。


推荐阅读