Skip to content

another PyQt6 issue #30

@bobmon

Description

@bobmon

I tried "python3 ./procexp.py" from the "procexp-2.0.0/" directory. It displays this and quits:

###----------------------------------------------------------------------------------------
$ python3 ./procexp.py
Traceback (most recent call last):
File "/home/bobmon/Installs/t/procexp-2.0.0/./procexp.py", line 27, in
from PyQt6 import QtCore, QtGui, uic, QtWidgets
ImportError: cannot import name 'uic' from 'PyQt6' (/usr/lib/python3/dist-packages/PyQt6/init.py)
###----------------------------------------------------------------------------------------

So I looked at PyQt6 from a jupyter/qtconsole shell, and got this:

###----------------------------------------------------------------------------------------
import PyQt6

help(PyQt6)
Help on package PyQt6:

NAME
PyQt6

DESCRIPTION
# Copyright (c) 2025 Riverbank Computing Limited info@riverbankcomputing.com
#
# This file is part of PyQt6.
#
# This file may be used under the terms of the GNU General Public License
# version 3.0 as published by the Free Software Foundation and appearing in
# the file LICENSE included in the packaging of this file. Please review the
# following information to ensure the GNU General Public License version 3.0
# requirements will be met: http://www.gnu.org/copyleft/gpl.html.
#
# If you do not wish to use this file under the terms of the GPL version 3.0
# then you may purchase a commercial license. For more information contact
# info@riverbankcomputing.com.
#
# This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
# WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

PACKAGE CONTENTS
QtCore
QtDBus
QtGui
QtNetwork
QtOpenGL
QtOpenGLWidgets
QtPrintSupport
QtSql
QtTest
QtWidgets
QtXml
sip

FILE
/usr/lib/python3/dist-packages/PyQt6/init.py
###----------------------------------------------------------------------------------------

I'm not familiar with Qt, and I don't know what or where "uic" is supposed to be.

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