Error reason is because python version pycharm is wrong, such as a program for the 2.7 version, but pycharm compiled interpreter as python3, contributed to the error, go to setting to change what version on the line: pycharm "file" setting "project interpreter then modify the interpreter's path on the line the
pycharm compiler environment under ubuntu package import error: ImportError: dynamic module does not define init function (init_caffe)
Guess you like
Origin www.cnblogs.com/bristlegrass/p/11450662.html
Ranking