Question:
I have a problem with importing PyQt in my code. This is specifically a problem with Replit, cause at home in a normal IDE everything works fine.
Is there maybe any shell command i have to run first or something? And yes, I am sure I have installed it.
My Error Message:
Traceback (most recent call last):
File “main.py”, line 2, in
from PyQt6.QtWidgets import QApplication, QMainWindow
ImportError: libxkbcommon.so.0: cannot open shared object file: No such file or directory
Thanks for the help.
Code Snippet:
import sys
from PyQt6.QtWidgets import QApplication, QMainWindow
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.showMaximized()
app = QApplication(sys.argv)
window = MainWindow()
app.exec()