ImportError libGL when using CV2 #456
Unanswered
KnightCoder
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@KnightCoder Thanks for the raising this discussion. Indeed, supporting installing system packages (Debian packages) is important for Python packages that dependent on such. There had been an issue on the board for quite awhile, though at the moment, the approach would be to first create a container image based on the default one that is used by the Packager, installing the needed library as the application calls for, then on packaging the application into MAP, pass the the app specific container image as the base image. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If the MONAI Deploy SDK app uses CV2 then it throws an error
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
. I think having a way to execute Linux commands on Docker image creation would've helped (similar to DOCKERFILE).MONAI Deploy SDK version: 0.5.1
Referring doc: https://docs.monai.io/projects/monai-deploy-app-sdk/en/0.5.1/developing_with_sdk/packaging_app.html
Beta Was this translation helpful? Give feedback.
All reactions