(Pytorch) C:\Users\15827455571>conda install -c junpu pytorch-cuda Collecting package metadata (repodata.json): failed UnavailableInvalidChannel: HTTP 404 NOT FOUND for channel junpu <http://mirrors.tuna.tsinghua.edu.cn/anaconda/junpu> 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-25 09:03:29 浏览: 275
这个问题可能是由于 junpu 这个 channel 不可访问所导致的。你可以尝试以下几种方法解决这个问题:
1. 检查你的 conda 配置是否有问题,可以使用 `conda config --show channels` 命令查看当前的配置。如果没有 junpu 这个 channel,可以尝试添加该 channel,命令如下:
```
conda config --add channels junpu
```
2. 如果你已经添加了 junpu 这个 channel,但仍然无法访问,可以尝试切换到其他可用的 channel,如官方的 pytorch channel:
```
conda install pytorch-cuda
```
3. 如果以上方法都无法解决问题,可以尝试清除 conda 的缓存并重新安装:
```
conda clean --all
conda install pytorch-cuda
```
希望以上方法能帮助你解决问题。
阅读全文