environment

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

江枫思渺然 提交于 2020-07-18 09:25:01
问题 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 prompt, activated the environment, and I ran: (photo) C:\Users\<user>\anaconda3\envs>conda install pytorch torchvision cudatoolkit=10.2 -c pytorch** This installed pytorch successfully. Running conda list I see: pytorch pytorch/win-64::pytorch-1.5.0-py3.7_cuda102_cudnn7_0 torchvision pytorch/win-64::torchvision-0.6.0-py37

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

女生的网名这么多〃 提交于 2020-07-18 09:23: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 prompt, activated the environment, and I ran: (photo) C:\Users\<user>\anaconda3\envs>conda install pytorch torchvision cudatoolkit=10.2 -c pytorch** This installed pytorch successfully. Running conda list I see: pytorch pytorch/win-64::pytorch-1.5.0-py3.7_cuda102_cudnn7_0 torchvision pytorch/win-64::torchvision-0.6.0-py37