Open za13 opened 3 years ago
I use Python 3.6 and CUDA 11 in Ubuntu 16. I followed all the steps for building in http://tutorial.caffe.berkeleyvision.org/installation.html:
make all make install make runtest
and also uncommented the following lines in the `makefile.config:
PYTHON_LIBRARIES := boost_python3 python3.5m PYTHON_INCLUDE := /usr/include/python3.5m \ /usr/lib/python3.5/dist-packages/numpy/core/include
then I tried
make pycaffe export PYTHONPATH=/home/me/Downloads/caffe/python:$PYTHONPATH
then in Python I type
import caffe
and get
ImportError: dynamic module does not define module export function (PyInit__caffe)
I get the same error if I try using cmake instead of makefile.config
cmake
makefile.config
can anyone help?
duplicated with #6054
I use Python 3.6 and CUDA 11 in Ubuntu 16. I followed all the steps for building in http://tutorial.caffe.berkeleyvision.org/installation.html:
and also uncommented the following lines in the `makefile.config:
then I tried
then in Python I type
and get
I get the same error if I try using
cmake
instead ofmakefile.config
can anyone help?