Hello, I am trying to install Anki in Termux using pip from the instructions at https://betas.ankiweb.net/. I’ve slightly modified them for my purposes for reasons which I’m hoping are unrelated to my issue:
Termux currently has Python 3.11.6 in its repos instead of 3.9
I want to install the stable version of Anki, rather than a beta so I’ve removed the --pre flag
I had to specify aqt==23.10 because without it, pip will “successfully” install aqt-2.1.25 which is a release occured prior to the ARM64 packaged builds (these started at 2.1.50 I believe).
Everything goes smoothly until the final step:
pyenv/bin/pip install --upgrade aqt==23.10 Collecting aqt==23.10 Using cached aqt-23.10-py3-none-any.whl.metadata (748 bytes) Requirement already satisfied: beautifulsoup4 in ./pyenv/lib/python3.11/site-packages (from aqt==23.10) (4.12.2) Collecting flask (from aqt==23.10) Using cached flask-3.0.0-py3-none-any.whl.metadata (3.6 kB) Collecting flask_cors (from aqt==23.10) Using cached Flask_Cors-4.0.0-py2.py3-none-any.whl.metadata (5.4 kB) Requirement already satisfied: jsonschema in ./pyenv/lib/python3.11/site-packages (from aqt==23.10) (4.19.2) Requirement already satisfied: requests in ./pyenv/lib/python3.11/site-packages (from aqt==23.10) (2.31.0) Requirement already satisfied: send2trash in ./pyenv/lib/python3.11/site-packages (from aqt==23.10) (1.8.2) Collecting waitress>=2.0.0 (from aqt==23.10) Using cached waitress-2.1.2-py3-none-any.whl (57 kB) INFO: pip is looking at multiple versions of aqt to determine which version is compatible with other requirements. This could take a while. ERROR: Could not find a version that satisfies the requirement anki==23.10 (from aqt) (from versions: 2.1.24+359b9f5c, 2.1.25, 2.1.26, 2.1.28, 2.1.29, 2.1.30, 2.1.31, 2.1.32, 2.1.33, 2.1.34, 2.1.35) ERROR: No matching distribution found for anki==23.10