conda - 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但没有运气。
解决方案
我的问题原来与powershell有关。
运行后:set-executionpolicy remotesigned
在管理员 powershell 中并重新启动错误消失了。
推荐阅读
- azure - 在混合节点池(Windows/Linux)上的 AKS 上忽略 nodeSelector 约束?
- spring-boot - MissingServletRequestParameterException 未使用 @ControllerAdvice 捕获
- apache-spark - spark nlp中的多语言bert
- php - 将日期转换为 datetimelocal 中的值
- nginx - 烧瓶 Nginx HTTP/1.1 302 找到
- javascript - webpack 可以制作超过 1 个 bundle.js 吗?
- autoit - 对象 Shell.Application 在同一资源管理器窗口中打开文件夹
- c++ - 使用 shared_mutex 和 MinGW-w64 构建问题
- linux - 在 Tesseract 上禁用图像旋转
- list - 如何在颤动中使用控制器获取单选按钮数据?