![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 34516
Join Date: Oct 2017
Device: Nook Touch
|
Calibre under Python-3.12.x
Does anyone know if Calibre runs ok under Python-3.12.x ? I need to upgrade to that, but would like to be able to use Calibre.
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,262
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The version of Python you install on your system doesn't have anything to do with whether or not you're able install/run Calibre using its official installer (even on Linux).
|
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,955
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If you are using the official calibre binaries from https://calibre-ebook.com/download_linux they come with their own python and dont care what python you have installed on the system.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 34516
Join Date: Oct 2017
Device: Nook Touch
|
KovidGoyal: Many Thanks for your all your work and your taking the time to respond. You're a credit to your profession...:-)
Forgive me for I have sinned...:-) I am a foolish soul who builds Calibre from source, and have had great success with it. It's also great fun. I was curious as to how it might deal with Python-3.12.x, which I'm upgrading to.... I know I'm on my own as I deserve... |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,262
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
For the record: I've installed Arch Linux's packaged Calibre that uses the system's Python 3.13.1, and Calibre does seem to operate for the most part. I've not done a ton of testing, though. I've noticed problems with some 3rd party problems plugins, but that's about it. Most breakage (if any) is probably going to come starting with Python 3.13, I'd say. The official binaries are still highly recommended.
|
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,955
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I myself run calibre built against python 3.13 and its test suite passes 100% on it. That said it is not officially supported and there might be some issues especially with third party plugins.
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,262
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's good to hear! I'll take a look at some of my own plugins that have issues with Python 3.13+ and see if I can work the kinks out.
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,262
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Mostly I have issues with UI plugins not showing up in Calibre menus (they show up fine with the current binary version of Calibre for Linux) with Python 3.13. The config dialog also repeatedly insists that Calibre needs to be restarted before launching the config, yet no amount of restarting works. That works fine with the current binary Linux version too. Any advice where to start looking?
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,955
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Start with running calibre as
calibre-debug -g see if any errors are printed out. |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,262
Karma: 203719142
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sorry... that was my mistake. I thought I had accounted for imghdr being dropped from 3.13 in all plugins that needed it, but turns out I'd fat-fingered it somehow. All good now. Thanks!
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 34516
Join Date: Oct 2017
Device: Nook Touch
|
Just to update....
I've just finished building Calibre-7.24 from source under Python-3.12.5. It's working nicely...:-) Thanks for all the generous commentary and assistance....:-) A special thanks to KovidGoyal for his excellent work !!! |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting ePub Python coding books to PDF outputs Python code far too small | lysakowski | Conversion | 9 | 04-30-2023 05:44 AM |
Calibre - Python 2.7 or 3.x ? | pramodxyle | Development | 2 | 03-14-2012 02:43 AM |
Python 2.5 and Calibre | FizzyWater | Calibre | 1 | 03-27-2009 02:15 AM |
Calibre and Python: do they get along? | zander_nyrond | Calibre | 7 | 07-20-2008 06:54 PM |