-
Notifications
You must be signed in to change notification settings - Fork 479
Trouble building pycaffe #14
Comments
This issue was already brought up in #6 . It's addressed in @pavlejosipovic 's pull request: #13. Should be available in master soon. If you don't want to wait, consider checking out the branch |
I think the actual fix belongs to wincaffe-3rdparty, which will then be pulled into this project. Trying to build numpy, I eventually got the "ImportError: cannot import name multiarray" error msg. From web searches I saw this issue is not Windows-specific, people have been having this problem for years on Linux. |
You just need to point to the Python lib library with numpy. You shouldn't need to build numpy yourself. Please follow the instruction here: https://github.com/Microsoft/caffe#python |
OK, got past the compiling step, still have trouble with libs during linking. |
zer0n, do you know if anyone has successfully built and run this in python ? Anaconda 2.7 was built using VC for Python 2.7 compiler, which is based on VC 2008 Will it run ? |
It will run with Miniconda 2.7 x64. |
Not working for me. Built from master against full Anaconda 2.7. Obviously the paths are set correct, as it's loading the module. There exists a _caffe.pyd in Release\pycaffe\caffe\
|
It definitely looks like Caffe's runtime dependencies cannot be found. Please double-check that <caffe_root>\Build\x64\Release is in your PATH, and that it is separated by a semicolon from previous dirs (if you followed @pavlejosipovic's comment above this may not be the case). Alternatively, try copying <caffe_root>\Build\x64\Release*.dll to <caffe_root>\Build\x64\Release\pycaffe\caffe. |
Yeah, just copy the DLLs to |
I'm having trouble building pycaffe, I'm not sure if it's some problem with my local setup. It seems to me there're two issues:
Am I missing something obvious here ? Is there an easier way ?
The text was updated successfully, but these errors were encountered: