ComputerVision-with-PyTorch-Learning-Program icon indicating copy to clipboard operation
ComputerVision-with-PyTorch-Learning-Program copied to clipboard

Error while importing torch

Open ShivaniSSS opened this issue 5 years ago • 1 comments

Specific Question

The installation was successful, but importing torch throws an error. I have added anaconda's path to environment variable and tried a lot, but still no change.

OS, package manager and PyTorch Version

Add the following details.

  • OS - Windows
  • PyTorch Version - Stable(1.5)
  • Package Manager - conda

Complete Error Log

Traceback (most recent call last): File "c:/Users/Shivani/Desktop/pytorch1.py", line 2, in <module> import torch File "C:\Users\Shivani\anaconda3\lib\site-packages\torch\__init__.py", line 81, in <module> ctypes.CDLL(dll) File "C:\Users\Shivani\anaconda3\lib\ctypes\__init__.py", line 364, in __init__ self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found

ShivaniSSS avatar Jun 09 '20 13:06 ShivaniSSS

@ShivaniSSS is this issue solved?

humandotlearning avatar Jun 24 '20 07:06 humandotlearning