Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
411 views
in Technique[技术] by (71.8m points)

python - ImportError while importing cv2

How to fix this.

>> Traceback (most recent call last):
  File "/app/userge/plugins/tools/executor.py", line 62, in eval_
    ret_val = await aexec(cmd)
  File "/app/userge/plugins/tools/executor.py", line 60, in aexec
    return await locals()['__aexec'](userge, message)
  File "<string>", line 3, in __aexec
  File "/app/.heroku/python/lib/python3.9/site-packages/cv2/__init__.py", line 5, in <module>
    from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

I tried the following Code.

import cv2
question from:https://stackoverflow.com/questions/66048772/importerror-while-importing-cv2

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...