title: Caffe install getting ImportError: DLL load failed: The specified module could not be found
body: <p>I am trying to compile and run the snippets posted <a href="http://nbviewer.ipython.org/github/BVLC/caffe/blob/master/examples/00-classification.ipynb" rel="nofollow">here</a>, which basically is going to let me visualize the network internals(feature maps).<br>
  I have successfully compiled <code>caffe</code> and <code>pycaffe</code> using the <code>caffe-windows</code> branch, And I have copied the caffe folder, into <code>T:\Anaconda\Lib\site-packages</code> folder.
  Yet still, when I try to run this snippet of code in jupyter notebook : </p>
  
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  %matplotlib inline
  
  # Make sure that caffe is on the python path:
  caffe_root = 'TC:/Caffe/'  # this file is expected to be in {caffe_root}/examples
  import sys
  sys.path.insert(0, caffe_root + 'python')
  
  import caffe
  
  plt.rcParams['figure.figsize'] = (10, 10)
  plt.rcParams['image.interpolation'] = 'nearest'
  plt.rcParams['image.cmap'] = 'gray'
  
  import os
  if not os.path.isfile(caffe_root + 'models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel'):
      print("Downloading pre-trained CaffeNet model...")
      !../scripts/download_model_binary.py ../models/bvlc_reference_caffenet
  </code></pre>
  
  <p>I get the following error : </p>
  
  <pre><code>---------------------------------------------------------------------------
  ImportError                               Traceback (most recent call last)
  &lt;ipython-input-1-e7a8ec94e861&gt; in &lt;module&gt;()
        8 sys.path.insert(0, caffe_root + 'python')
        9 
  ---&gt; 10 import caffe
  
  L:\Anaconda2\lib\site-packages\caffe\__init__.py in &lt;module&gt;()
  ----&gt; 1 from .pycaffe import Net, SGDSolver
        2 from ._caffe import set_mode_cpu, set_mode_gpu, set_device, Layer, get_solver
        3 from .proto.caffe_pb2 import TRAIN, TEST
        4 from .classifier import Classifier
        5 from .detector import Detector
  
  L:\Anaconda2\lib\site-packages\caffe\pycaffe.py in &lt;module&gt;()
       11 import numpy as np
       12 
  ---&gt; 13 from ._caffe import Net, SGDSolver
       14 import caffe.io
       15 
  
  ImportError: DLL load failed: The specified module could not be found.
  </code></pre>
  
  <p>Whats wrong here? </p>
  
  <p>Notes:<br>
  I'm using <code>Anaconda2-2.4.1-Windows-x86_64.exe</code>  </p>