Notices


Reply
Thread Tools
Posts: 44 | Thanked: 15 times | Joined on Jan 2009 @ China
#1
I've been trying to install Ankimaemi for language learning (I do have supermemo for Palm OS which is much more limited), but I have been unable to get one dependency to install: simplejson.

When I first came across Anki, I was able to install the basic Anki .deb (anki-0.9.9.5-1_armel.deb) via Application Manager, but, when it came to Ankimaemi, Application Manager would notify me that I needed simplejson installed first.

I was unable to find simplejson easily at the gronmayer repositories list, but I did find instructions to download python-simplejson-2-1.06-1_armel.deb at:
http://ichi2.net/anki/wiki/Anki%20on%20Maemo

When I try to install simplejson using Application Manager, App Mgr just gives me an error: "Can't Install" with no other details.

After trolling the web, I came across instructions on how to use Easy Install (from Python Setuptools) to "force" simplejson to install. I installed Python Setuptools and then tried doing Easy Install using the instructions I found at:
http://markmail.org/message/dricqhm6654hxxb6

This is what happened next:

HTML Code:
~/MyDocs $ sudo su


BusyBox v1.6.1 (2008-09-18 09:43:17 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user/MyDocs # easy_install simplejson
Searching for simplejson
Reading http://cheeseshop.python.org/pypi/simplejson/
Reading http://undefined.org/python/#simplejson
Reading http://cheeseshop.python.org/pypi/simplejson/2.0.9
Best match: simplejson 2.0.9
Downloading http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.9.tar.gz#md5=af5e67a39ca3408563411d357e6d5e47
Processing simplejson-2.0.9.tar.gz
error: No space left on device
I got the "No space left on device" error even though I'm running Diablo off of the SD card in my n810 (with 4 GB free space). I tried this again by rebooting the device but got the same result.

Can someone help me figure out how to install simplejson?

Thanks!
 
Posts: 13 | Thanked: 5 times | Joined on Sep 2009
#2
Sorry this is a very late reply. If you are still looking, here's the answer...

Point the browser on the internet tablet to

https://garage.maemo.org/projects/anki/

click on "Download" at the "libanki" package, and then click on the links
python-simplejson-x.y.z.deb
python-sqlalchemy-x.y.z.deb
anki-x.y.z.deb (in this order). The application manager will open and ask to install the files. Confirm with 'yes'.

Finally, grab the latest ankimaemi deb and install in the same way. Voila.
 
Reply

Tags
easy install, simpljson


 
Forum Jump


All times are GMT. The time now is 05:02.