Saturday, July 04, 2020

Re: update: education/anki-2.1.16

On 2020/07/04 20:13, marfabastewart wrote:
> Thank you for the continuing work on anki. However, I
> am getting an error on -current now. After installing
> with pkg_add -D snap,
> I get
>
> marfaba$ anki
> Traceback (most recent call last):
> File "/usr/local/bin/anki", line 3, in <module>
> import aqt
> File "/usr/local/lib/python3.7/site-packages/aqt/__init__.py", line 57, in <module>
> from aqt import addcards, browser, editcurrent, stats, about, \
> File "/usr/local/lib/python3.7/site-packages/aqt/addcards.py", line 13, in <module>
> import aqt.editor, aqt.modelchooser, aqt.deckchooser
> File "/usr/local/lib/python3.7/site-packages/aqt/editor.py", line 25, in <module>
> import requests
> ModuleNotFoundError: No module named 'requests'
>
> I haven't tried to install the module separately.
> This error occurs on several machines, including one
> that started with no other packages, running
>
> kern.version=OpenBSD 6.7-current (GENERIC) #313: Fri Jul 3 08:45:24 MDT 2020
> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
>
> My python knowledge is very limited, but please let me know
> if I can help in any way.
>
>
>
>

workaround until a new package is available with a fixed dependency
list: "pkg_add py3-requests"

No comments:

Post a Comment