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

Error: import cv2 #137

Open
zhukefucn opened this issue Sep 27, 2024 · 1 comment
Open

Error: import cv2 #137

zhukefucn opened this issue Sep 27, 2024 · 1 comment

Comments

@zhukefucn
Copy link

I followed the Readme.md to install on Ubuntu 20.04 ,all stpes are ok.When run sample program ,it showed :
python pdf_extract.py --pdf assets/examples/example.pdf
Traceback (most recent call last):
File "/home/qinxizhou/PDF-Extract-Kit/pdf_extract.py", line 2, in
import cv2
ModuleNotFoundError: No module named 'cv2'
I use follow command and show
pip show opencv-python
show:
Name: opencv-python
Version: 4.10.0.84
Summary: Wrapper package for OpenCV python bindings.
Home-page: https://github.com/opencv/opencv-python
Author:
Author-email:
License: Apache 2.0
Location: /usr/local/lib/python3.10/dist-packages
Requires: numpy
Required-by: controlnet-aux, facexlib, imgaug, paddleocr, surya-ocr, ultralytics, unimernet

Please tell me why occurs this error?

@zhukefucn
Copy link
Author

for sloving this error ,I delete this line ,but found import yaml error!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant