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

While I try to build image using cog I got the error in description: import cv2 ImportError: libGL.so.1: cannot open shared object file: No such file or directory #119

Closed
anilpatelia opened this issue May 28, 2024 · 2 comments

Comments

@anilpatelia
Copy link

File "/src/surya/input/processing.py", line 5, in

File "/root/.pyenv/versions/3.11.9/lib/python3.11/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/root/.pyenv/versions/3.11.9/lib/python3.11/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.pyenv/versions/3.11.9/lib/python3.11/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

Please resolve this issue.

@VikParuchuri
Copy link
Owner

If you're having an issue with cog, you'll need to reach out to replicate (I think they're the ones that use cog). This is a system-specific issue, not related to surya.

@anilpatelia
Copy link
Author

@VikParuchuri
Thanks for the feedback.

@anilpatelia anilpatelia changed the title Whili I try to build image using cog I got the error in description: import cv2 ImportError: libGL.so.1: cannot open shared object file: No such file or directory While I try to build image using cog I got the error in description: import cv2 ImportError: libGL.so.1: cannot open shared object file: No such file or directory May 29, 2024
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

2 participants