from torchvision import datasets,transforms,DLL load failed: 找不到指定的程序。已解决

时间:2025-03-18 16:30:36
在Anaconda Prompt窗口中输入命令:conda install torchvision -c soumith
之前就是简单的在该窗口输入:pip install torchvision或者conda install torchvision,
都出现了下面这个问题:
ERROR: Could not find a version that satisfies the requirement torch>=1.1.0等,然后就去官网找命令,如上,就安装成功没有再报错。