On 28/10/2026 17:32, Kenneth P Dere wrote:
Hi,

I get the following error message with running from a terminal

ric_env/bin> ./eric7_ide
Error in sys.excepthook:
Traceback (most recent call last):
 File
"/home/ken/eric_env/lib64/python3.14/site-packages/eric7/eric7_ide.py",
line 246, in excepthook
   from eric7 import EricUtilities, Utilities
 File
"/home/ken/eric_env/lib64/python3.14/site-packages/eric7/Utilities/__init__.py",
line 34, in <module>
   from eric7 import Preferences
 File
"/home/ken/eric_env/lib64/python3.14/site-packages/eric7/Preferences/__init__.py",
line 41, in <module>
   from PyQt6.QtPdfWidgets import QPdfView
ModuleNotFoundError: No module named 'PyQt6.QtPdfWidgets'

Original exception was:
Traceback (most recent call last):
 File "/home/ken/eric_env/bin/./eric7_ide", line 6, in <module>
   sys.exit(main())
            ~~~~^^
 File
"/home/ken/eric_env/lib64/python3.14/site-packages/eric7/eric7_ide.py",
line 358, in main
   from eric7 import Preferences  # __IGNORE_WARNING_I-101__
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 File
"/home/ken/eric_env/lib64/python3.14/site-packages/eric7/Preferences/__init__.py",
line 41, in <module>
   from PyQt6.QtPdfWidgets import QPdfView
ModuleNotFoundError: No module named 'PyQt6.QtPdfWidgets'

This will be because PyQt6 v6.12.0 has been uploaded to PyPI but there isn't (yet) a corresponding version of PyQt6-WebEngine (which now contains QtPdfWidgets).

The workaround is to explicitly install PyQt6==6.11.0 beforehand.

Phil

Reply via email to