Can't build anki on Manjaro Linux

I tried building anki from the official rep with the following error:

node: error while loading shared libraries: libicui18n.so.72: cannot open shared object file: No such file or directory

I can find libicui18n.so.73 but a symlink to *.72 does not work.

Building anki-git works but when I try to run it, I get the following error:

ModuleNotFoundError: No module named 'PyQt6.QtWebEngineCore'

but PyQt6 is installed

$ pip show PyQt6
Name: PyQt6
Version: 6.5.0
Summary: Python bindings for the Qt cross platform application toolkit
Home-page: https://www.riverbankcomputing.com/software/pyqt/
Author: Riverbank Computing Limited
Author-email: info@riverbankcomputing.com
License: GPL v3
Location: */.local/lib/python3.11/site-packages
Requires: PyQt6-Qt6, PyQt6-sip
Required-by: 

Any suggestions? Thanks!

1 Like

Assuming you mean your distro’s repo, please see Linux Distro Packages - Anki Manual.

If you’re running Anki from a virtual env, PyQt needs to be installed into that venv.

I was not running it from an venv but anki was only looking in .local/user/lib/ instead of also in /usr/lib/.
After manually installing PyQt6-webengine with “pip install --user” it works!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.