https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/repodata/e062d98924418311ea8d8da53806a0643e0134a51ea7480d6e77e5b732cb7bb1-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
时间: 2023-07-14 20:52:41 浏览: 285
这是一个HTTPS错误404 - 找不到的错误,可能是由于以下原因之一:
1. 网络连接不稳定或中断
2. 您所请求的资源在服务器上不存在
3. 您的请求URL有误
请确认您的网络连接稳定,并检查您请求的资源是否存在。如果这些都没问题,请检查您的URL是否正确,或者尝试使用其他方式获取您需要的资源。
相关问题
Collecting package metadata (current_repodata.json): ...working... done Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve. PackagesNotFoundError: The following packages are not available from current channels: - crefi Current channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/linux-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/linux-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/linux-64 - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page.
这个错误提示表明在当前的镜像源中找不到名为 "crefi" 的包。请按照以下步骤进行排查:
1. 检查包的名称是否正确,确保没有拼写错误。
2. 检查网络连接是否正常,可以尝试使用其他网络或者更换镜像源。
3. 在终端中运行以下命令更新 conda:
```
conda update conda
```
然后再尝试安装包。
4. 如果仍然无法找到包,可以尝试在 https://anaconda.org 上搜索该包,看看是否有其他可用的镜像源提供该包。
希望这些解决方案能帮助到您!如果还有其他问题,请随时提问。
Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. PackagesNotFoundError: The following packages are not available from current channels: - cudatoolkit=11.1 Current channels: - http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64 - http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64 - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64 - http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch - https://repo.anaconda.com/pkgs/main/win-64 - https://repo.anaconda.com/pkgs/main/noarch - https://repo.anaconda.com/pkgs/r/win-64 - https://repo.anaconda.com/pkgs/r/noarch - https://repo.anaconda.com/pkgs/msys2/win-64 - https://repo.anaconda.com/pkgs/msys2/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page.
这个错误提示说明当前的conda channels(镜像源)中没有可用的cudatoolkit=11.1包。
您可以尝试添加conda-forge channels,该channels中包含了更多的第三方软件包。使用以下命令添加conda-forge channels:
```
conda config --add channels conda-forge
```
然后再次尝试安装PyTorch和cudatoolkit:
```
conda install pytorch torchvision torchaudio cudatoolkit=11.1 -c pytorch -c conda-forge
```
这种方式会先从pytorch channels中查找软件包,如果找不到再从conda-forge channels中查找。
希望这个解决方法可以帮助到您。
阅读全文