07-23-2021, 05:44 PM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2021
Device: PW3/G090G1
|
Python packages for offline Wiki
Hello,
I am struggling to get an offline Wikipedia on my PW2. Epub or Mobi Is too limited so I figured I need to read directly from a ZIM file. I would like to try running a local miniwebserver with ZIMply Python package. (https://openzim.org/wiki/Readers) Then connect to it with a browser. I however have no idea how to install the package on my Kindle. When I try with Kterm I install pip with ensurepip but am unable to install the package due to 'low disk space' even though I have plenty of free space. Is this even the right way to do this? How does one install a new Python module? Thanks for any help. (Searching the forum did not help https://www.mobileread.com/forums/sh...ighlight=Numpy ) Last edited by Smidra; 07-23-2021 at 05:46 PM. |
07-23-2021, 06:54 PM | #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
|
I vaguely remember pointing someone towards this in the past, but, basically, read the Kobo version of my Python packages, it includes a section about setting up pip at the very end.
(Also, thread moved to the Dev forum). |
07-27-2021, 07:07 PM | #3 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jan 2021
Device: PW3/G090G1
|
Thanks for the speedy reply. With your help I was able to make pip work. Unfortunately ZIMply has a dependency which is a Python C module - and that gets stuck in loop when installing since there is no C compiler on the kindle. I have no clue how to solve this problem.
On the forum i found some people on Kobo made kiwix-serve work. (https://www.mobileread.com/forums/sh...d.php?t=276219) So I tried to make kiwix-serve work on kindle. I downloaded the armel package from Debian backports. I copied all dynamicaly linked libraries but there are still some (cca 25) errors silmilar to this: Code:
./kiwix-serve: /lib/libc.so.6: version `GLIBC_2.28` not found (required vz /usr/lib/...) Surely there must be some way to read a ZIM file on kindle, however I don't know what to try next. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I identiy the name of two packages? | cicabum | Onyx Boox | 0 | 06-11-2019 04:03 PM |
Python 2 to Python 3, Polyglot & Plugins | DaltonST | Calibre | 18 | 04-24-2019 12:10 AM |
Help - tools packages... | carpetmojo | Calibre | 7 | 12-24-2011 09:47 AM |
PRS-500 https://wiki.mobileread.com/wiki/Sony_Reader_hack | gseryakov | Sony Reader Dev Corner | 1 | 10-22-2006 12:34 AM |