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

No module name cv2 #8

Open
harsh1702 opened this issue Jan 13, 2022 · 1 comment
Open

No module name cv2 #8

harsh1702 opened this issue Jan 13, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@harsh1702
Copy link

After installing as per the instructions when I try to run the either of the commands
plotdigitizer --help
plotdigitizer ./figures/trimmed.png -p 0,0 -p 10,0 -p 0,1

the following error shows up, how do I get by this error

Traceback (most recent call last):
File "/home/harsh/.local/bin/plotdigitizer", line 7, in
from PlotDigitizer.plotdigitizer import main
File "/home/harsh/.local/lib/python3.6/site-packages/PlotDigitizer/plotdigitizer.py", line 13, in
import cv2
ModuleNotFoundError: No module named 'cv2'

@dilawar
Copy link
Owner

dilawar commented Jan 13, 2022

You need to install opencv python module.

On linux, https://pkgs.org/download/python3-opencv

On some distros, pip may be able to install https://pypi.org/project/opencv-python/

python3 -m pip install opencv-python

@dilawar dilawar added the help wanted Extra attention is needed label Jan 13, 2022
@dilawar dilawar self-assigned this Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants