drakh / caffe-win-python-anaconda

caffe build for windows7/64 bit for use with anaconda.
1 stars 1 forks source link

Getting ImportError: DLL load failed: The specified module could not be found #1

Open Coderx7 opened 8 years ago

Coderx7 commented 8 years ago

Hello, When i try to run this snippet of code in Jupyter Notebook (I'm using Anadonca by the way (the 2.7 version)) I keep getting this error message:

ImportError                               Traceback (most recent call last)
<ipython-input-1-e7a8ec94e861> in <module>()
      8 sys.path.insert(0, caffe_root + 'python')
      9 
---> 10 import caffe

L:\Anaconda2\lib\site-packages\caffe\__init__.py in <module>()
----> 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 <module>()
     11 import numpy as np
     12 
---> 13 from ._caffe import Net, SGDSolver
     14 import caffe.io
     15 

ImportError: DLL load failed: The specified module could not be found.```

I compiled the pycaffe from caffe-windows branch successfully, but that kept me getting the same error, I then downloaded your pre-built package and copied it to the ```Lib\site-packages``` as well, still nothing works (I even restared the system couple of times!)
What is it that I am missing or doing wrong here?
Thanks in advance
markeroon commented 8 years ago

I'm getting this same issue.