pyparrot: ImportError: libjasper.so.1: cannot open shared object file: No such file or directory
I tried to run the demoMamboVisionGUI.py but got this error msg.
ImportError: libcblas.so.3: cannot open shared object file: No such file or directory
then I managed to solved it by this command
pip3 install opencv-python
then I got another error when try to execute the demoMamboVisionGUI.py
ImportError: libcblas.so.3: cannot open shared object file: No such file or directory
then I solved it with this command
sudo apt-get install libatlas-base-dev
no I got another error
ImportError: libjasper.so.1: cannot open shared object file: No such file or directory
How I can solve this problem? Any complete guide to install all dependencies ?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (3 by maintainers)
Finally I managed to solved all dependencies Here it is
I needed one more step after this:
Guys you do not need to install any updates or other libraries. The problem is because the current version of opencv (currently 4.1.1.26) is not compatible with RPi, just run
pip3 uninstall opencv-python
and then runpip3 install opencv-python==3.4.6.27
This should sort you out and if you have any issues just check what versions of opencv are compatible with your Raspbian or whatever you are using.Hi! For people who are trying to install libjasper-dev on ubuntu 18.04 can do the following:
use
sudo apt install python3-opencv
instead of pip, as suggested by https://stackoverflow.com/a/60237868/9697329