Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LASER.py OpenCV install or import bug #14

Open
OpenSourceIronman opened this issue Jul 1, 2020 · 5 comments
Open

LASER.py OpenCV install or import bug #14

OpenSourceIronman opened this issue Jul 1, 2020 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@OpenSourceIronman
Copy link
Contributor

pi@raspberrypi:~/Tapomatic/v2020.0 $ python3 LASER.py
Traceback (most recent call last):
File "LASER.py", line 16, in
import cv2 as cv
File "/home/pi/.local/lib/python3.7/site-packages/cv2/init.py", line 3, in
from .cv2 import *
ImportError: libjasper.so.1: cannot open shared object file: No such file or directory

@OpenSourceIronman OpenSourceIronman added the bug Something isn't working label Jul 1, 2020
@OpenSourceIronman
Copy link
Contributor Author

I think I just need to run Murali's new install.py script on my local computer.

The key lines being:
check_call("pip3 install cv2", shell=True)
check_call("pip3 install scikit-image", shell=True)

@OpenSourceIronman
Copy link
Contributor Author

Yep. pip3 install cv2 works on MacOS.

Need to test on Raspberry Pi 4 to close Issue

@dull7295
Copy link
Collaborator

dull7295 commented Jul 5, 2020 via email

@OpenSourceIronman
Copy link
Contributor Author

pip3 install cv2 doesn't work, trying install opencv-python

image

@OpenSourceIronman
Copy link
Contributor Author

Nope :(

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants