VOILA not compatible with Python > 3.9

28 views
Skip to first unread message

Alexis W

unread,
Nov 30, 2021, 3:42:10 PM11/30/21
to majiq_voila
I have been trying to install Voila on Debian. As the repo version is python 3.7, I installed python 3.10 but ran into the error described here:

ImportError: cannot import name 'MutableMapping' from 'collections' (/usr/local/lib/python3.10/collections/__init__.py)


As per the answers on that thread, I tried again with python 3.9.9, and this problem doesn't seem to happen anymore.

So I think Voila is currently only compatible with python 3.8 and 3.9.

Paul Jewell

unread,
Dec 1, 2021, 9:54:58 AM12/1/21
to majiq_voila
Hello Alexis,

The officially tested/supported version for majiq and voila is still python3.8

If you would like to test with higher versions you may at your discretion. In the error that you linked, I am fairly sure in this case the problem is in one of the dependency libraries, likely 'Flask'. If you wish to try it, you can clone the repository and change the installed library versions (for example from lib == version to lib >= version), but for now I would generaly recommend staying with 3.8.

Thanks
Reply all
Reply to author
Forward
0 new messages