Anki is not found
fzerorubigd opened this issue · comments
I use virtualenv for clean env and I get this error :
Traceback (most recent call last):
File "./kindle2anki.py", line 4, in
import card_creator
File "/home/f0rud/funspace/kindle2anki/card_creator.py", line 6, in
from anki import Collection as aopen
ImportError: No module named 'anki'
@fzerorubigd
Did you init and update the git submodule?
What did you do when you got the error?
Yes. the submodule is at 7c76a23cce923e5c2873e1b32632b3432c952c5a
@fzerorubigd I just also created an AUR package for it. It works fine for me. Would you please test it?
https://aur.archlinux.org/packages/kindle2anki-git/
The root cause of the problem is in usage of absolute path in the import statement
you supposed to use a relative path instead
@dryganets Oh! Thanks.
Fixed in ae649bf