marfabastewart <marfabastew...@protonmail.com> writes:

> 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'
>

Thanks, Makefile diff below


--- Makefile.orig       Sun Jul  5 08:42:34 2020
+++ Makefile    Sun Jul  5 08:43:13 2020
@@ -33,6 +33,7 @@
                sysutils/py-distro${MODPY_FLAVOR} \
                textproc/py-markdown${MODPY_FLAVOR} \
                www/py-beautifulsoup4${MODPY_FLAVOR} \
+               www/py-requests${MODPY_FLAVOR} \
                www/py-qtwebengine${MODPY_FLAVOR}
 
 do-build:

Reply via email to