View Single Post
Old 12-28-2025, 12:48 PM   #1
MisterAP
Member
MisterAP began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Aug 2024
Device: Kobo Clara HD
Wrong embedded python version?

I'm sure I'm missing something here, but I haven't found anything in searches.

I use Ubuntu 24.04 LTS HWE, patched up to date.
The Ubuntu Python is 3.12
I have a development setup which is up to date.

calibre 8.16.2* embedded-python: True
Linux-6.14.0-37-generic-x86_64-with-glibc2.39 Linux ('64bit', 'ELF')
('Linux', '6.14.0-37-generic', '#37~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 20 10:25:38 UTC 2')
Python 3.11.13

BUT the latest code requires Python 3.13, and I get error:
ImportError: cannot import name 'ShutDown' from 'queue' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/queue.pyc)

Since I assume no-one can run without 3.13, I must have the wrong setup. How do I get 3.13 as the embedded version?
Or should I be doing something else to use it?

Any help much appreciated.
MisterAP is offline   Reply With Quote