I can't use any Anki version

It looks like 2.1.26 doesn’t work too. It looked good at the beginning, the first requests were successfull (200), but then something happened that resulted in “Request timed out”. It really looks like this is the case here.

If you use any third-party antivirus or proxy, try to turn it off.

Maybe try to run Anki as administrator.

Maybe create a new Windows user and install Anki there.

This was the output after using \anki-venv\scripts\pip install aqt orjson to install Anki. In your case, \anki-venv might be \pyenv.

To run Anki, use

\anki-venv\scripts\anki

https://faqs.ankiweb.net/running-from-python.html

Anki probably won’t start and you’ll see the same error message as with 2.1.46, “OSError: [WinError 10038] An operation was attempted on something that is not a socket”.

Then maybe modify C:\anki-venv\Lib\site-packages\waitress\trigger.py and run Anki with

set ANKIDEV=1 & \anki-venv\scripts\anki

and use test_server.py to run a few checks.

https://forums.ankiweb.net/t/i-cant-use-any-anki-version/12639/3

Maybe the output will provide some additional information on what’s wrong.

2 Likes