10-18-2011, 07:05 AM | #1 |
Enthusiast
Posts: 42
Karma: 39432
Join Date: May 2011
Device: none
|
Python for kindle
This zip file contains python 2.7.2 for kindle.
It can be installed using launchpad's customupdates feature, or simply unzipped under /mnt/us. If you unzip in another location, you should edit the included file pythonenv. To run python, source the file /mnt/us/python/pythonenv and run the binary /mnt/us/python/usr/bin/python. The package actaully contains the Debian Wheezy packages python-minimal, python2.7-minimal, python2.7 and libssl1 (rebuilt to use older libc). |
04-18-2012, 09:33 PM | #2 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
I did all that,but it is telling me that libssl1.0.0.so does not exist although it does exist and is in /mnt/us/python/usr/lib ... Any help? (i just looked at the thread date..... whoops. if anybody can still help me tho it would be nice.
qlobthehorse |
Advert | |
|
04-19-2012, 04:26 AM | #3 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
I don't think you did all that. You probably did _not_ source the file /mnt/us/python/pythonenv - or you installed to another location. That LD_LIBRARY_PATH environment setting in there is mandatory and the culprit in the case of the error you are facing.
Note that _sourcing_ it is needed, not executing it as a shell script (which would only affect a subshell). "source /mnt/us/python/pythonenv". |
04-19-2012, 04:26 AM | #4 | |
Zealot
Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
Quote:
Spoiler:
EDIT: Don't read this post Last edited by hostar; 04-19-2012 at 04:53 AM. |
|
04-19-2012, 04:32 AM | #5 |
Wizard
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
|
No, PATH doesn't matter, PATH is for finding executables. It's LD_LIBRARY_PATH for the linker (or an addition to /etc/ld.so.conf - which I do not recommend since it means changing the root fs).
|
Advert | |
|
04-19-2012, 04:52 AM | #6 |
Zealot
Posts: 138
Karma: 12324
Join Date: Dec 2011
Location: CZ
Device: Kindle 4 non-touch
|
you are right.
But searching paths might be found by strace. Last edited by hostar; 04-19-2012 at 07:32 AM. |
04-19-2012, 10:33 AM | #7 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
|
04-19-2012, 04:42 PM | #8 |
Official Lurker
Posts: 1,050
Karma: 7096675
Join Date: Apr 2012
Device: Kindle 3.4
|
Yes i did end up forgetting to source /mnt/us/python/pythonenv Thanks!
qlobthehorse |
01-04-2013, 01:54 PM | #9 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
wget http://pypi.python.org/packages/2.7/...870bc7919059ea
for 2.7 easy_install then [root@kindle bin]# easy_install pip for pip FURTHER NOTES... I seemingly get version warnings... The following is not recommended for the average user. http://ubuntuforums.org/showthread.php?t=1905963 cheers therefore I would recommend the python from https://www.mobileread.com/forums/showthread.php?t=88004 instead Last edited by twobob; 01-04-2013 at 02:42 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unutterably Silly The Python ONLY thread! | pshrynk | Lounge | 175 | 02-03-2011 01:43 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 version? | lightkeeper54 | Calibre | 1 | 08-07-2009 06:38 AM |
Python 2.5 or 2.6? | itimpi | Calibre | 5 | 01-19-2009 12:48 PM |