Cannot import Pytorch [WinError 126] The specified module could not be found

前端 未结 5 2247
离开以前
离开以前 2021-02-18 15:31

I\'m trying to do a basic install and import of Pytorch/Torchvision on Windows 10. I installed a Anaconda and created a new virtual environment named photo. I opened Anaconda pr

5条回答
  •  佛祖请我去吃肉
    2021-02-18 15:59

    You should use the command line to install PyTorch on Windows or any supported platform. It is trivial:

    • Open URL in web browser https://pytorch.org/
    • Find the "Quick Start Locally" section
    • Select your platform
    • Run the command on your end (highlighted in yellow)

    This way you can install it with any following package:

    • Conda
    • Pip
    • LibTorch
    • Source

提交回复
热议问题