Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PyQt5 QtWidgets QtDialog import Issue
Forum Updated to NodeBB v4.3 + New Features

PyQt5 QtWidgets QtDialog import Issue

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SuperSuper
    wrote on last edited by
    #1

    I don't know if anyone can assist me to solve the below import problem, I would be very much grateful. Thanks in advance!

    runfile('C:/Users/Hello Good Morning/Desktop/Python 3 Learning/call_teacher.py', wdir='C:/Users/Hello Good Morning/Desktop/Python 3 Learning')
    Traceback (most recent call last):

    File "C:\Users\Hello Good Morning\Desktop\Python 3 Learning\call_teacher.py", line 11, in <module>
    from PyQt5.QtWidgets import QDlialog, QApplication, QTableWidgetItem

    ImportError: cannot import name 'QDlialog' from 'PyQt5.QtWidgets' (C:\Users\Hello Good Morning\anaconda3\lib\site-packages\PyQt5\QtWidgets.pyd)

    jsulmJ 1 Reply Last reply
    0
    • S SuperSuper

      I don't know if anyone can assist me to solve the below import problem, I would be very much grateful. Thanks in advance!

      runfile('C:/Users/Hello Good Morning/Desktop/Python 3 Learning/call_teacher.py', wdir='C:/Users/Hello Good Morning/Desktop/Python 3 Learning')
      Traceback (most recent call last):

      File "C:\Users\Hello Good Morning\Desktop\Python 3 Learning\call_teacher.py", line 11, in <module>
      from PyQt5.QtWidgets import QDlialog, QApplication, QTableWidgetItem

      ImportError: cannot import name 'QDlialog' from 'PyQt5.QtWidgets' (C:\Users\Hello Good Morning\anaconda3\lib\site-packages\PyQt5\QtWidgets.pyd)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @SuperSuper said in PyQt5 QtWidgets QtDialog import Issue:

      QDlialog

      It's called QDialog, not QDlialog...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SuperSuper
        wrote on last edited by
        #3

        @jsulm said in PyQt5 QtWidgets QtDialog import Issue:

        QDialog

        Oh, yes. Thanks a lot!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved