WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Anki  (Read 3783 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Anki
« on: November 14, 2011, 06:30:25 AM »
i tried to start this python program but i fail.
After download the source and install dep (only sqlalchemy is missing in the repository) start ./anki require run of ./tools/build_ui.sh.
build_ui,sh works (readme don't say tha need to install perl) bunt anki and setup.py do not.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Anki
« Reply #1 on: November 17, 2011, 10:12:50 AM »
No one can help me? I would try to learn some things with the help of this software

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Anki
« Reply #2 on: January 11, 2012, 04:29:24 AM »
trying again

Dep for build_ui.sh python.tcz pyqt.tcz perl5.tcz
http://pastebin.com/NqMHXC26

Dep for anki (in addiction of build_ui.py dep) python-simplejson.tcz sqlalchemy (compiled by me) and pysqlite2.tcz (unnecessary but for surenes...)
http://pastebin.com/8efUx6tp
?!?!

Try to install:
http://pastebin.com/iCimtM7q

ok, i install python_setuptools-2.7.tcz (python-distribute.tcz is an alternative but have the same result)
http://pastebin.com/fpRnysuZ

...And finally
http://pastebin.com/7Ngns3Dx
Darn!

Also I ask in the official forum, of course if anyone has any idea before

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14841
Re: Anki
« Reply #3 on: January 11, 2012, 04:45:25 AM »
Are you trying to compile anki or ankiqt?

From your logs, things start to fail with "No local packages or download links found for anki>=1.2.9"

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: Anki
« Reply #4 on: January 11, 2012, 11:01:52 AM »
Juanito is right... You need compile anki before to compile ankiqt.

Sequence would be:
Code: [Select]
cd anki-1.2.9
./tools/build_ui.sh             <-You need bash.tcz
cd libanki
sudo python setup.py install     <-Here you compile anki
cd ..
sudo python setup.py install     <-Here you compile ankiqt

Note that you need qt-4.x-extended.tcz and qt-4.x-webkit.tcz in addition to your dependencies to run application.

  Regards.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Anki
« Reply #5 on: January 13, 2012, 05:20:39 AM »
Many thanks to you! now work!

Quote
Code: [Select]
cd libanki
sudo python setup.py install     <-Here you compile anki
I had completely missed this part!

I do not know if the reason is I have documented wrong, but anyway I just have to do the package, which I will shortly.