07-03-2019, 07:14 AM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2019
Device: Kobo Clara HD
|
Install Python 3.6+ ?
Hi,
I just enter the world of mobile read, because I want a simple tool for me and I thought that the kobo clara hd should work for this thing. I read that we can do a lot on it, that python and tkinter works, etc. But I only found python 2.7 for clara hd. I search for more than 3 days, but I'm lost between versions of the firmware, good python version and how to do it. So my question: - Does it exist a tutorial explaining how to install python 3+ on kobo Clara hd ? I didn't find it. - It is possible to upgrade python by myself or I have to wait until release from master in hack on this forum ? If you have anything to say about how I format my question or if I do something wrong, just tell me, I will edit this post if so. |
07-03-2019, 11:33 AM | #2 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
No-one has a Py3k package, that I know of, no. And I wouldn't recommend diving into it unless you seriously know what you're doing, because cross-compiling interpreted languages is hell.
I do plan of doing that before the Python 2.7 EoL (01/01/2020), but not right this minute . Did you have something specific in mind that *explicitly* requires Py3k? |
Advert | |
|
07-03-2019, 11:45 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2019
Device: Kobo Clara HD
|
Yes I do have something specific in mind: https://pythonclock.org/
Don't code in 2.x, don't like it, don't want to... Why are you talking about cross-compiling ? |
07-03-2019, 12:11 PM | #4 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Because the Kobo HW runs on ARM? And my masochistic tendencies are aimed at cross-compiling, not qemu or chroot shenanigans ;p.
EDIT: Also, no, I don't ship tk with my Python packages (and neither does Kobo), so, no tkinter . Last edited by NiLuJe; 07-03-2019 at 12:21 PM. |
07-03-2019, 08:42 PM | #5 | ||
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Quote:
|
||
Advert | |
|
07-04-2019, 03:54 AM | #6 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
I only have Python 3.4 (more specifically, the Debian Jessie chroot on my Kobo has it)
https://packages.debian.org/jessie/python3 Newer Debian does not work for me (on my Kobo H2O with 2.6.x kernel) but might work on newer kernel Kobo devices. Last edited by frostschutz; 07-04-2019 at 03:57 AM. |
07-06-2019, 05:35 PM | #7 |
Pain in the arse
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Kobo Installer has Python 3.4.1 inside it. It's a stripped version, since the entire py standard library is a bit too much for the internal memory. There's also a link to the other libraries.
I compiled it using qemu with a debian arm image. IMHO it was not so difficult. The difficult part was to move the standard library in a separate package. Last edited by Lucas Malor; 07-06-2019 at 05:40 PM. |
07-12-2019, 12:14 AM | #8 |
BLAM!
Posts: 13,477
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
|
Tags |
python3 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura Install python on a kobo. | SKK | Kobo Developer's Corner | 1 | 07-06-2019 06:21 PM |
Clara How to install python on Clara (weather forecast) | mafi | Kobo Developer's Corner | 2 | 06-10-2019 12:52 PM |
Python 2 to Python 3, Polyglot & Plugins | DaltonST | Calibre | 18 | 04-24-2019 12:10 AM |
install multiple versions, install to ram drive | cybmole | Sigil | 3 | 01-12-2015 02:13 AM |
install pyserial on python 2.7.2 | fat265 | Kobo Developer's Corner | 14 | 08-14-2013 02:23 PM |