View Single Post
Old 05-19-2025, 01:27 PM   #1
bengalih
Member
bengalih began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Oct 2023
Device: smartphone
Compatible versions based on Windows version - or install problems

I tried to upgrade from 6.29 to 8.4.0 yesterday.

After upgrade, Calibre would not run. It provided no warning/errors during install/upgrade, nor did it provide any errors at startup.

I run calibre-server.exe separately as a service, and in trying to launch that I got the following error:

Code:
C:\Users\htpc-user>"D:\Program Files\Calibre2\calibre-server.exe" --port=8585 --enable-auth --auth-mode=basic --ban-after=3 --ban-for=180 --log="F:\data\reference\books\Calibre Libraries\calibre-settings\logs\server.log"
Failed to import PyQt module: PyQt6.QtGui with error: DLL load failed while importing QtGui: The specified procedure could not be found.
Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "calibre\srv\standalone.py", line 224, in main
  File "calibre\srv\standalone.py", line 66, in __init__
  File "calibre\srv\handler.py", line 207, in __init__
  File "importlib\__init__.py", line 126, in import_module
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "bypy-importer.py", line 279, in exec_module
  File "calibre\srv\ajax.py", line 15, in <module>
  File "bypy-importer.py", line 279, in exec_module
  File "calibre\srv\content.py", line 21, in <module>
  File "bypy-importer.py", line 279, in exec_module
  File "calibre\ebooks\covers.py", line 16, in <module>
ImportError: cannot import name 'QBrush' from 'qt.core' (D:\Program Files\Calibre2\app\bin\python-lib.bypy.frozen\qt\core.pyc)
My research led me to this thread, which indicates that the version may not be compatible with the version of Windows I'm on:
https://www.mobileread.com/forums/sh...d.php?t=353584


I don't know if this is the correct answer - I don't think it can be the whole picture. The download link here:
https://calibre-ebook.com/download_windows

States no incompatibilities pre Windows 8. I'm actually running this on Windows Server 2016, which is built on Windows 10 1607.

Also, have been successful running 6.29 on it for a couple of years.

I don't know why python library dependencies (as the error message seems to show) should be an issue between version of Windows 10 (or even 11 for that matter). If there is a problem with these versions, why is there no documentation on this on the download page and why does the installer continue without checking?

FWIW, I did fully uninstall Calibre and then do a new reinstall with 8.4.0 and had the same issue.

Is this a Windows incompatability? If so, what is the latest compatible version? If not, how do I fix this?

thanks
bengalih is offline   Reply With Quote