Score:0

error QTcreator using ubuntu 22.04

et flag
Traceback (most recent call last):
  File "/home/123/Documents/untitled1/widget.py", line 6, in <module>
    from PySide6.QtWidgets import QApplication, QWidget
ImportError: /snap/core20/current/lib/x86_64-linux-gnu/libdl.so.2: undefined symbol: _dl_vsym, version GLIBC_PRIVATE
19:45:44: /usr/bin/python3 exited with code 1

code: This Python file uses the following encoding: utf-8

import os
from pathlib import Path
import sys

from PySide6.QtWidgets import QApplication, QWidget
from PySide6.QtCore import QFile
from PySide6.QtUiTools import QUiLoader


class Widget(QWidget):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.load_ui()

    def load_ui(self):
        loader = QUiLoader()
        path = Path(__file__).resolve().parent / "form.ui"
        ui_file = QFile(path)
        ui_file.open(QFile.ReadOnly)
        loader.load(ui_file, self)
        ui_file.close()


if __name__ == "__main__":
    app = QApplication(sys.argv)
    widget = Widget()
    widget.show()
    sys.exit(app.exec())
Albert Schrödinberg avatar
ua flag
please provide use some specifications about the context of your error code
ru flag
Is this QtCreator as a snap? If so you need to contact the snap creator and indicate you have a bug there, there's not much *we* can do to fix that since everything's snapped and sandboxed.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.