主教程
参考安装例程
踩坑
期间遇到caffe: error while loading shared libraries: libcudart.so.10.0: cannot open shared object file: No such file or directory
,解决
在python
中 import caffe
出现:ImportError: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory
,解决
出现:RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
,解决
出现:ModuleNotFoundError: No module named \'google\'
,解决
出现:[ ERROR: pip\'s dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pandas 1.1.5 requires python-dateutil>=2.7.3, but you have python-dateutil 1.5 which is incompatible. matplotlib 3.3.4 requires python-dateutil>=2.1, but you have python-dateutil 1.5 which is incompatible.
], 解决
出现:[.build_release/tools/caffe: error while loading shared libraries: libcudart.so.10.0: cannot open shared object file: No such file or directory Makefile:542: recipe for target \'runtest\' failed make: *** [runtest] Error 127
],解决1,要是解决1不行,解决2; 我第一次可以用解决1解决,但是第二次却用的解决2才可以;
todo
目前遇到问题,在python中,import caffe
,显示 ModuleNotFoundError: No module named \'numpy.core._multiarray_umath
; 尝试更新numpy版本,但是又会出现 0x0e与0x0d
的问题;降低numpy版本,出现依赖版本要求不满足的问题;
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:ubuntu18.04安装caffe - Python技术站