Closed aleksejrs closed 7 months ago
Python 3.9.18
Looks like an issue with my use of modern union typing which was added with python 3.10. I think I have what should be the fix on the type-error-regression branch. If you can, let me know if it works. There are a few other things I can try if it does not.
Python 3.9.18
But I have 3.11.0 installed in my Debian. Does anki-24.04.2beta1-linux-qt6 contain 3.9.18? Here is the list of all the files matching "*python*
" in its directory:
lib/charset_normalizer/md.cpython-39-x86_64-linux-gnu.so
lib/charset_normalizer/md__mypyc.cpython-39-x86_64-linux-gnu.so
lib/google/protobuf/internal/python_message.py
lib/markupsafe/_speedups.cpython-39-x86_64-linux-gnu.so
lib/orjson/orjson.cpython-39-x86_64-linux-gnu.so
lib/pvectorc.cpython-39-x86_64-linux-gnu.so
lib/PyQt6/sip.cpython-39-x86_64-linux-gnu.so
lib/wrapt/_wrappers.cpython-39-x86_64-linux-gnu.so
Adding from __future__ import annotations
worked.
Does anki-24.04.2beta1-linux-qt6 contain 3.9.18?
That would be my guess.
python3 -v: Python 3.11.8 (main, Feb 7 2024, 21:52:08) [GCC 13.2.0] on linux