You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to run iasam_app.py, I encountered the following error:
File "/inpaint-anything/iasam_app.py", line 17, in <module>
import cv2
File "/opt/conda/envs/inpaint/lib/python3.10/site-packages/cv2/__init__.py", line 181, in <module>
bootstrap()
File "/opt/conda/envs/inpaint/lib/python3.10/site-packages/cv2/__init__.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/opt/conda/envs/inpaint/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
When I tried to run
iasam_app.py
, I encountered the following error:After researching, I found a similar issue here: GitHub Issue #1270.
It seems like switching the OpenCV import to
opencv-python-headless==4.8.1.78
is a good solution to avoid this error.The text was updated successfully, but these errors were encountered: