You are not logged in.
Hi, today I did a system upgrade. This upgrade apparently broke the anki-bin package as I used it yesterday just fine.
Trying to start anki throws this error message
Traceback (most recent call last):
File "/usr/bin/anki", line 17, in <module>
import aqt
ModuleNotFoundError: No module named 'aqt'
I have no idea how to fix this. Please help, I have to learn my dutch vocabulary ^^
Last edited by qz (2024-12-26 00:22:57)
Offline
You are responsible for rebuilding AUR packages when they need to be, including after a python update.
Offline
I upgraded with yay, so anki-bin was rebuilt.
Offline
yay doesn't work like that.
Offline
Rebuilding manually didn't work either
Offline
Built with makepkg and installed with pacman?
Offline
I fucked up rebuilding. It works now. Sorry for wasting your time ._.
Offline
Apologies for posting in a solved issue, but I have also been facing the same issue for a few days now. I did try to clean build with yay, then manually and then even in a clean chroot with the wiki instructions. No dice, though.
Any ideas or any information I could provide?
It appears it is a known issue, when I look at the comments under the AUR package, so I'm not sure how OP got it working in the first place.
Offline
There are no comments saying this is a known issue. Do you have the same issue or something different?
Offline
Am I misunderstanding something? There are comments discussing issues with aqt and how the package installs Anki. The Anki forum also discusses something like this.
The issue I am having is the same as OP's initial one with the same error output.
Offline
What's the output of pacman -Ql anki-bin?
Offline
It is quite long, so I hope you don't mind me posting it in a pastebin:
Last edited by Koko210 (2024-12-29 12:53:31)
Offline
So it has been properly rebuilt against 3.13. What's the output of `type python3`?
Offline
Please use a different pastebin service, see https://wiki.archlinux.org/title/List_o … n_services
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
So it has been properly rebuilt against 3.13. What's the output of `type python3`?
Thank you for pointing me in the right direction. My problem is solved now. The output of `type python3` was:
python3 is /home/linuxbrew/.linuxbrew/bin/python3
Immediately I realized I had some sort of linuxbrew path I wasn't even aware of. Probably something I neglected to remove a long long time ago. Removed that directory entirely and `type python3` now points to my actual home and anki-bin launches.
Please use a different pastebin service.
Apologies. Thank you for letting me know. I will edit my post and change the link.
Offline