pxshen
January 18, 2024, 9:30pm
1
GLMakie fails to build on Google Colab notebook:
Precompiling GLMakie
✗ GLFW_jll
✗ GLFW
Info Given GLMakie was explicitly requested, output will be shown live
ERROR: LoadError: InitError: could not load library “/root/.julia/artifacts/37dda4e57d9de95c99d1f8c6b3d8f4eca88c39a2/lib/libGL.so”
Notebook minimal code: Google Colab
I tried various workarounds for installing libGL to no avail
I need GLMakie because CairoMakie can’t do 3d volume plots
Thanks!
pxshen
January 18, 2024, 10:16pm
3
Yes but WGLMakie says
Can’t get three : Timed out waiting for session to get ready
Hm, maybe WGLMakie doesn’t work with the display system on Colab
pxshen
January 18, 2024, 10:40pm
5
Yeah needs to reconfigure ports probably
Anyone who’s gotten GLMakie or WGLMakie to work on Colab?
I updated the minimal notebook showing errors for both
pxshen
January 19, 2024, 1:07am
6
As workaround I’ll just download the workload results and visualize them on my laptop. . But would be nice if someone figures this out