/usr/bin/ld: cannot find -lboost_python-py35collect2: error: ld returned 1 exit statusmake: *** [python/caffe/_caffe.so] Error 1
Hmm, try locate boost_python* on your system. I had the same error as you which got solved with the correct boost_python name in Makefile.
Another matter is that you wrote that you are using Anaconda. Maybe there are some steps to account for that as well but I'm not sure.
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/_Iydbi8T-GQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/a0cb883c-f367-4d68-aa13-81c09a1297e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hmm, try locate boost_python* on your system. I had the same error as you which got solved with the correct boost_python name in Makefile.
I'm using locate boost_python and generally sudo updatedb to update the search database before that. In my case, the files are located in /usr/lib/x86_64-linux-gnu/. There's libboost_python-py27.so which links to libboost_python-py27.so.1.55.0 and libboost_python-py34.so which is a link to libboost_python-py34.so.1.55.0.
I forgot you were using Anaconda. Possibly this will work instead of pip3 install protobuf:
$ pip3 install protobuf
I forgot you were using Anaconda. Possibly this will work instead of pip3 install protobuf:
I forgot you were using Anaconda. Possibly this will work instead of pip3 install protobuf:
Did you set WITH_PYTHON_LAYER in the config file?
That being said, I didn't use make pytest. I did make all, make pycaffe, make test, make distribute and make runtest iirc.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/71c1ffe1-f40e-4f12-ab53-e5b83f8412f3%40googlegroups.com.
I forgot you were using Anaconda. Possibly this will work instead of pip3 install protobuf:
Did you set WITH_PYTHON_LAYER in the config file?
Protobuf 3 does work and it is needed with Caffe for Python 3 support.
We use it at work, but yes, it's all a painful process to get it done.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/ea8d3b17-9603-4561-84cc-12708717d1df%40googlegroups.com.
The WITH_PYTHON_LAYER causes the compilation of a mechanism that allows to define a layer in python, and use that in your network. It is much easier to handle than C++ and CUDA code, but also much less efficient. But for quick experiments . I am not 100% sure, but it may be that pytest also tries to test that and fails because you didn't compile it.