06-14-2021, 08:17 PM | #1 |
HP: 9%
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
|
Need help with python
I suspect my kindle pw4 did not successfully install python (https://www.mobileread.com/forums/sh...d.php?t=195474) or at the very least don't know how to access it via making new KUAL extensions or kterm. Do you guys know how to confirm that it's installed properly or how to access it via command.
My device has been jailbroken and updated to the latest fw (5.13.6) before downgrading it back to factory (5.10.3) jailbreaking then updating to (5.13.3). I was expecting to find a python folder, something I had on my first jb, but it's not there right now. I'm trying to make screensaver generator with python, so any help with this would be greatly appreciated. |
06-14-2021, 09:08 PM | #2 |
Grand Sorcerer
Posts: 5,298
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Did you install python before or after updating to 5.13.3?
Updating the firmware wipes out all the installed packages. |
Advert | |
|
06-14-2021, 09:25 PM | #3 |
HP: 9%
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
|
|
06-14-2021, 09:36 PM | #4 |
Grand Sorcerer
Posts: 5,298
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
OK.
There should be a /mnt/us/python directory and the Code:
python Code:
[root@kindle us]# python Python 2.7.15 (default, Jan 3 2019, 09:14:18) [GCC 7.3.1 20180425] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> |
06-14-2021, 10:14 PM | #5 |
HP: 9%
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
|
After entering "python" on kterm this is the output
Code:
[kterm]# python /bin/sh: python: not found [kterm]# I suspect that it's being blocked in some way, but I don't know enough to be certain. For now I'm trying to prod into kindletool, I don't know what it does exactly but I hope I can get a clue on how to install it manually. |
Advert | |
|
06-15-2021, 11:13 PM | #6 |
HP: 9%
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
|
Fixed
What ended up happening was that I used the wrong package. NiLuJe helped me resolve this on his snapshot thread
https://www.mobileread.com/forums/sh...d.php?t=225030 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is the environment Python 2 or Python 3? | halloleo | Library Management | 11 | 04-07-2020 03:47 AM |
Python 2 to Python 3, Polyglot & Plugins | DaltonST | Calibre | 18 | 04-24-2019 12:10 AM |
What is python | The Terminator | General Discussions | 20 | 01-21-2011 12:58 PM |
Python 2.7 | DiapDealer | Calibre | 4 | 12-17-2010 11:19 AM |
Python 2.5 or 2.6? | itimpi | Calibre | 5 | 01-19-2009 12:48 PM |