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
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?