Sublime Text 3 Unable To Import Python Module Although Importing From Command Line Is Possible?
when I tried to build with python in ST3, I get an import error as I tried to do import caffe but when I simply ran on the terminal, typing $ python >>> import caffe it
Solution 1:
You can add this before import caffe
import sys
sys.path.insert(0, '/path_to_caffe_root/python')
Post a Comment for "Sublime Text 3 Unable To Import Python Module Although Importing From Command Line Is Possible?"