Error while finding module specification

Hello, i’m trying to selfhost the Anki syncserver and i get the following error: /srv/anki-syncserver/anki-venv/bin/python: Error while finding module specification for 'anki.syncserver' (ModuleNotFoundError: No module named 'anki').

I’m running this inside docker with Ubuntu 22.04 and Python 3.10.6. Installed anki from PyPI’s anki package.

That’s Python telling you that anki is not installed. Please make sure you pip-installed it into the venv you’re trying to run from, and that the install was successful.

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