from phy.apps.template import template_gui; template_gui(PATH OF PARAMS.py)
I am facing the following error:
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
I tried to fix this issue by trying out all proposed solutions here, however, the same issue still appears.
I am running the code on ubuntu/linux where a GPU is active (before I was trying to run the code on a docker image but there I faced another issue #1197, which was the reason to try the code on the ubuntu system directly).
Remark: I am conntected to the ubuntu/linux machine via ssh.
Dear community,
When I try to run the code
from phy.apps.template import template_gui; template_gui(PATH OF PARAMS.py)
I am facing the following error:
I tried to fix this issue by trying out all proposed solutions here, however, the same issue still appears.
I am running the code on ubuntu/linux where a GPU is active (before I was trying to run the code on a docker image but there I faced another issue #1197, which was the reason to try the code on the ubuntu system directly).
Remark: I am conntected to the ubuntu/linux machine via ssh.
Thanks for your effort in advance!