niuzhiheng / caffe

Caffe
http://caffe.berkeleyvision.org/
BSD 2-Clause "Simplified" License
317 stars 129 forks source link

problem with caffe windows with python wrapper #60

Open nkliucaihua opened 9 years ago

nkliucaihua commented 9 years ago

I have installed all the required libs or tools in python requirements.txt and included the boost in VS2012. I compiled a dll named _caffe.dll with the src code and _caffe.cpp. but when I import caffe, I got import Error : No module named _caffe

Is anyone knows how to compile the python wrapper on windows

yuntinghill commented 9 years ago

rename _caffe.dll as _caffe.pyd

nkliucaihua commented 9 years ago

I have tried this method before I posted this issue. I really did get no errors about import _caffe,but a new problem disappeared. When i run the proposed ipython notebook code, python will stop to work at the code caffe.imagenet.wrapper.ImageNetClassifier

xingyingxin commented 9 years ago

HI,when i install the required libs of tools in python requirements.txt, i cannot find the leveldb and the protobuf. can you give me some help? my email address:xingyingxin@outlook.com thank you so much!