mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
move back to requiring python 3.6
portions of libanki can run on python 3.5, but media syncing will fail so we require 3.6 when running the GUI
This commit is contained in:
parent
01c58cfd85
commit
da246cb935
2 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,7 @@ provide support for problems you encounter when running from source.
|
||||||
|
|
||||||
Anki requires:
|
Anki requires:
|
||||||
|
|
||||||
- Python 3.5+
|
- Python 3.6+
|
||||||
- Qt 5.9.x and a PyQT that supports it
|
- Qt 5.9.x and a PyQT that supports it
|
||||||
- mpv
|
- mpv
|
||||||
- lame
|
- lame
|
||||||
|
|
|
@ -40,3 +40,7 @@ qtpoint = QT_VERSION & 0xff
|
||||||
|
|
||||||
if qtmajor != 5 or qtminor != 9:
|
if qtmajor != 5 or qtminor != 9:
|
||||||
raise Exception("Anki only supports Qt 5.9.x at this time.")
|
raise Exception("Anki only supports Qt 5.9.x at this time.")
|
||||||
|
|
||||||
|
# GUI code assumes python 3.6+
|
||||||
|
if sys.version_info[0] < 3 or sys.version_info[1] < 6:
|
||||||
|
raise Exception("Anki requires Python 3.6+")
|
||||||
|
|
Loading…
Reference in a new issue