打开新的cmd窗口,输入以下指令换源: bash conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/# 保证换源之后优先级是正确的conda config --setchannel_prioritytrue 查看是否修改好: ...
网络连接问题:如果网络连接不稳定或存在防火墙限制,可能导致无法通过pip安装torch。可以尝试使用稳定的网络连接,或者使用代理服务器来解决网络问题。 pip源设置问题:pip默认使用的是官方源,但有时官方源可能存在访问速度慢或不稳定的问题。可以尝试切换到其他镜像源,如清华大学镜像源、阿里云镜像源等。具体切换方法可以参考...
Command: "D:\Helper\git\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113 Error code: 1 stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch....