I have a new computer (Windows 11) since a few weeks, on which I reinstalled calibre.
And I immediately have had these problems :
- After the installation, I got a window telling me that I have to restart my computer. I've never seen that with calibre before.
- After restarting, I have to click multiple times on the icon before calibre starts.
- If I don't restart the computer, this is what I get when I run calibre-debug -g
Spoiler:
Code:
C:\Users\admin>calibre-debug -g
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = 'C:\Program Files\Calibre2\calibre-debug.exe'
isolated = 1
environment = 0
user site = 0
import site = 1
sys._base_executable = 'C:\\Program Files\\Calibre2\\calibre-debug.exe'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.platlibdir = 'lib'
sys.executable = 'C:\\Program Files\\Calibre2\\calibre-debug.exe'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "bypy-importer.py", line 275, in exec_module
File "bypy-importer.py", line 63, in get_module_code
ValueError: bad marshal data (unknown type code)