Install pytorch using domestic mirror source

You can use the domestic mirror source to install PyTorch, just add the corresponding source in the installation command. For example, to install PyTorch using Tsinghua source, you can run the following command: pip install torch torchvision -i https://pypi.tuna.tsinghua.edu.cn/simple

Guess you like

Origin blog.csdn.net/weixin_42588672/article/details/129491315