Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 06-14-2021, 08:17 PM   #1
0x6c616d70
HP: 9%
0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
Exclamation 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.
0x6c616d70 is offline   Reply With Quote
Old 06-14-2021, 09:08 PM   #2
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,275
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.
j.p.s is online now   Reply With Quote
Advert
Old 06-14-2021, 09:25 PM   #3
0x6c616d70
HP: 9%
0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
Quote:
Originally Posted by j.p.s View Post
Did you install python before or after updating to 5.13.3?

Updating the firmware wipes out all the installed packages.
I did, then I tried installing it again via mrpackages.
0x6c616d70 is offline   Reply With Quote
Old 06-14-2021, 09:36 PM   #4
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,275
Karma: 98804578
Join Date: Apr 2011
Device: pb360
OK.

There should be a /mnt/us/python directory and the
Code:
python
command in kterm should result in something like this:
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.
>>>
j.p.s is online now   Reply With Quote
Old 06-14-2021, 10:14 PM   #5
0x6c616d70
HP: 9%
0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.
 
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]#
There's no python folder in mnt/us/ so at least I'm sure that there really is a problem in the installation. Thanks.

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.
0x6c616d70 is offline   Reply With Quote
Advert
Old 06-15-2021, 11:13 PM   #6
0x6c616d70
HP: 9%
0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.
 
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
0x6c616d70 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 03:22 PM.


MobileRead.com is a privately owned, operated and funded community.