UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel pytorch-lightning <https://conda.anaconda.org/pytorch-lightning> The channel is not accessible or is invalid. You will need to adjust your conda configuration to proceed. Use `conda config --show channels` to view your configuration's current state, and use `conda config --show-sources` to view config file locations.
时间: 2023-06-20 15:07:15 浏览: 60
这个错误提示是在使用 conda 安装 pytorch-lightning 时发生的。出现这个错误可能有以下原因:
1. pytorch-lightning 这个 channel 确实不存在或不可用。
2. conda 配置中缺少 pytorch-lightning 这个 channel。
3. conda 配置中 pytorch-lightning 这个 channel 的优先级低于其他 channel。
你可以尝试使用以下命令来添加 pytorch-lightning 这个 channel:
```
conda config --add channels pytorch-lightning
```
然后再尝试安装 pytorch-lightning,看看是否还会报错。如果还有问题,建议查看一下 conda 配置中其它 channel 的优先级,看是否与 pytorch-lightning 冲突。
相关问题
HTTP 404 NOT FOUND for channel anaconda/cloud/pytorch1 <https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch>
这可能是由于以下原因导致的:
1. 网络连接问题:请检查您的网络连接是否畅通,尝试重新连接后再次访问该 URL。
2. URL 错误:请确保您输入的 URL 正确且有效,并且不包含任何拼写错误。
3. 服务器故障:如果上述两种情况都不是问题,那么该 URL 可能不可用或服务器故障。您可以尝试使用其他镜像源或稍后再次尝试访问该 URL。
condahttperror: http 000 connection failed for url <https://conda.anaconda.org/pytorch/linux-64/current_repodata.json>
condahttperror错误:在URL <https://conda.anaconda.org/pytorch/linux-64/current_repodata.json> 中连接失败,可能是由于网络连接问题导致的。