close
Skip to content

python-script wont run on the codespace probably an issue involving pyqt5 #133

@GITthunderHUB

Description

@GITthunderHUB

I'm using pyqt5 as a ui for but no matter what i do i keep getting the same error

File "/workspaces/Test/new.py", line 3, in <module,>
from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QHBoxLayout, QComboBox, QCheckBox, QGroupBox, QPushButton, QTabWidget, QTextEdit, QLabel
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

any help would be amazing, ive been trying to figure this out for hours.

(ive tried: sudo apt-get update && sudo apt-get install -y libgl1-mesa-glx)
but i only get this error

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.

Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions