Topic: [Resolved] Installing Anki from Source

Hi guys,

If someone could help me understand how to get this working, I would really appreciate it.  Basically, I am getting this error: "Note: if you're using a bleeding edge distro you may get a "no such module: exceptions" error, because SQLAlchemy in your distro is not compatible. You will need to uninstall the deb and install 1.2.9 from source, which contains a workaround for SQLAlchemy."

http://ankisrs.net/index.html#linux -- This is the site of the program.  The guy has instructions here on how to deal with this error.  Basically, he says something about installing it from source.

I downloaded the "latest source" (http://anki.googlecode.com/files/anki-1.2.9.tgz), but I have no idea what to do with it from here.

I am very new to working "under the hood" in linux, but I am loving #! so far.  I am running it on a 4/5 yr old ThinkPad R52 and it is going great.

Thanks for any help you can give me,
Clan_Destine

Last edited by Clan_Destine (2012-02-06 11:54:26)

Re: [Resolved] Installing Anki from Source

OK, I am on #! November 2011, with kernel upgraded to 3.2.0-0.bpo.1-686-pae

Preparation: install dependencies

sudo apt-get install python-setuptools python-qt4 python-simplejson python-sqlalchemy

go to the dir where you downloaded anki-1.2.9.tgz

cd ...
tar xf anki[tab][enter]
cd anki-1.2.9
(cd libanki && sudo python setup.py install)
sudo python setup.py install
anki &

That got it working for me. YMMV.

hth

Last edited by xaos52 (2012-02-06 09:06:03)

If you poke the bear it is going to come after you.

Re: [Resolved] Installing Anki from Source

Thank you very much xaos, that was really a great help.