title: OpenCV-Python ImportError: DLL load failed: The specified module could not be found
body: <p>I am working on windows 10 with Python 3.6.0 (Anaconda3) and jupyter notebook. I have successfully installed and imported OpenCV-Python with the help of comments in this post.</p>
  <p>Now the problem is that If I am importing opencv (ijmport cv2) from the same command prompt where I installed the opencv, it is importing without any error.
  But if I am importing opencv from another command prompt, then it is giving me this error:</p>
  <blockquote>
  <p>ImportError: DLL load failed: The specified module could not be found.</p>
  </blockquote>
  <p>I can't attach any picture to show this as my reputation is 3. So I am explaining it here.</p>
  <p>Command Prompt1:</p>
  <pre><code>C:\Users\Prachi\AppData\Local\Programs\Python\Python36-
  32\Anaconda3\Scripts&gt;pip install opencv_python-3.2.0+contrib-cp36-cp36m-
  win_amd64.whl
  Processing C:\Users\Prachi\AppData\Local\Programs\Python\Python36-
  32\Anaconda3\Scripts&gt;pip install opencv_python-3.2.0+contrib-cp36-cp36m-
  win_amd64.whl
  Installing collected packages: opencv-python
     Found existing installation: opencv-python-3.2.0.7
        Uninstalling opencv-python-3.2.0.7:
             Successfully uninstalled opencv-python-3.2.0.7
  Successfully installed opencv-python-3.2.0+contrib
  C:\Users\Prachi\AppData\Local\Programs\Python\Python36-
  32\Anaconda3\Scripts&gt;python
  Python 3.2.0 |Anaconda4.3.1(64-bit)| (default, Dec 23 2016, 11:47:51) [MSC 
  v.1900 64-bit (AMD64)] on win32
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
  &gt;&gt;&gt;import cv2
  &gt;&gt;&gt;
  </code></pre>
  <p>Command Prompt2:</p>
  <pre><code>C:\Users\Prachi\AppData\Local\Programs\Python\Python36-
  32\Anaconda3\Scripts&gt;python
  Python 3.2.0 |Anaconda4.3.1(64-bit)| (default, Dec 23 2016, 11:47:51) [MSC 
  v.1900 64-bit (AMD64)] on win32
  Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.
  &gt;&gt;&gt;import cv2
  Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;C:\Users\Prachi\Anaconda3\lib\site-packages\cv2\__init__.py&quot;, line 7, 
  in &lt;module&gt;
     from . import cv2
  ImportError: DLL load failed: The specified module could not be found.
  &gt;&gt;&gt;
  </code></pre>
  <p>This is why, whenever I am opening new command prompt to start coding, I have to install opencv again and then use it.
  Hope this explaination helps in understanding the problem.</p>