--------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-1-3e49d7933f8b> in <module>
----> 1 import orbslam2
ModuleNotFoundError: No module named 'orbslam2'
It seems installation was successful , ORB-SLAM2 working too, but import in python doesn't work. I have python 3.7.3 installed by Anaconda, make install was done with sudo (sudo make install)
If I manually copy orbslam2.so into /home/user/anaconda3/lib/python3.7 it failing to find other libraries:
ImportError: libDBoW2.so: cannot open shared object file: No such file or directory
Ok, I found workaround for anaconda:
manually copy orbslam2.so to /home/user/anaconda3/lib/python3.7
manually copy libDBoW2.so and libg2o.so to /home/user/anaconda3/lib/
orbslam2 is imported now
It seems installation was successful , ORB-SLAM2 working too, but import in python doesn't work. I have python 3.7.3 installed by Anaconda, make install was done with sudo (sudo make install) If I manually copy orbslam2.so into /home/user/anaconda3/lib/python3.7 it failing to find other libraries:
Ok, I found workaround for anaconda: