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

Install mesa-libgl binary for opencv supportability. #219

Closed
Tracked by #163
harshad16 opened this issue Sep 21, 2023 · 1 comment
Closed
Tracked by #163

Install mesa-libgl binary for opencv supportability. #219

harshad16 opened this issue Sep 21, 2023 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@harshad16
Copy link
Member

harshad16 commented Sep 21, 2023

Users, install opencv on runtime, are unable to use the package, as it requires os binary mesa-libgl in the os for the proper execution of the tools. Example:
when try to use the ultralytics, the following error would be thrown for the opencv.

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Suggestions:

Install the mesa-libgl binary in the base image:

USER root
RUN yum install mesa-libGL -y
USER default

WorkAround

Users can install opencv-contrib-python-headless==4.8.0.76 python package to make the use of opencv

@github-project-automation github-project-automation bot moved this to 📋 Backlog in ODH IDE Planning Sep 21, 2023
@harshad16 harshad16 added the kind/bug Something isn't working label Sep 21, 2023
@atheo89 atheo89 self-assigned this Oct 3, 2023
@atheo89 atheo89 moved this from 📋 Backlog to 👀 In Review in ODH IDE Planning Oct 3, 2023
@harshad16 harshad16 added this to the 2023b milestone Oct 4, 2023
@harshad16
Copy link
Member Author

Completed with #205
Thanks for the work 💯

@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅Done in ODH IDE Planning Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Status: No status
Archived in project
Development

No branches or pull requests

2 participants