-
Notifications
You must be signed in to change notification settings - Fork 12
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
ImportError: libGL.so.1: cannot open shared object file #32
Comments
Thanks for opening this. Apparently our docker image doesn't have system requirement that conda / opencv is expecting (libgl). Unfortunately, there isn't anything you can easily do as a user to get that installed. I believe it has to be in the docker image before the notebook server starts up. This downside of adding this to the docker image is that it'll increase the size, which will cause slower spawn times. Which library / libraries were you trying to use? Perhaps there's an implementation of what you're trying to do in one of the packages currently installed. |
Hi Tom, thanks for the quick reply! Yes I think you're right that I was trying to run an object detection neural network model implemented in |
Ok, I'll close this issue as I've managed to find a few workarounds. For anyone interested, these are possible solutions (some which need to be done in combination):
Actually have a separate problem getting onnxruntime to work with the GPU, but will open a separate issue to track things. |
Hi there, just starting to try out Planetary Computer and it's working pretty well so far! Just bumped into this issue though when trying to import opencv (which is a dependency on one of the packages I'm using).
Specifically, the error is
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
. Looking at https://stackoverflow.com/questions/55313610/importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directo, it seems like there's some package that needs to be installed.Minimal working example to reproduce, do in a terminal:
then in a Jupyter notebook, try:
produces
The text was updated successfully, but these errors were encountered: