"import torch" giving error "from torch._C import *, DLL load failed: The specified module could not be found" : <p>I am currently using Python 3.5.5 on Anaconda and I am unable to import torch. It is giving me the following error in Spyder: </p>

<pre><code>Python 3.5.5 |Anaconda, Inc.| (default, Mar 12 2018, 17:44:09) [MSC v.1900 
64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.

IPython 6.2.1 -- An enhanced Interactive Python.

import torch
Traceback (most recent call last):

  File "&lt;ipython-input-1-eb42ca6e4af3&gt;", line 1, in &lt;module&gt;
    import torch

  File "C:\Users\trish\Anaconda3\envs\virtual_platform\lib\site-
  packages\torch\__init__.py", line 76, in &lt;module&gt;
    from torch._C import *

ImportError: DLL load failed: The specified module could not be found.
</code></pre>

<p>Many suggestions on the internet say that the working directory should not be the same directory that the torch package is in, however I've manually set my working directory to C:/Users/trish/Downloads, and I am getting the same error. </p>

<p>Also I've already tried the following: reinstalling Anaconda and all packages from scratch, and I've ensured there is no duplicate "torch" folder in my directory. </p>

<p>Pls help! Thank you!</p>
