qpython-android / qpython

QPython is an Android Python engine primarily designed for Python and AI learners. It offers a range of impressive features to enhance Python programming experience.
https://www.qpython.org
1.05k stars 193 forks source link

matplotlib-aipy3 is not compatible with python v3.11 #210

Open rohandebsarkar opened 1 year ago

rohandebsarkar commented 1 year ago

matplotlib-aipy3 v2.2.3 is not compatible with python v3.11.

While importing matplotlib I get the following error:

Traceback (most recent call last):
  File "test2 .py", line 1, in <module>
    import matplotlib
  File "/data/user/0/org.qpython.qpy/files/lib/p ython3.11/site-packages/matplotlib/__init__.py",  line 107, in <module>
    from collections import MutableMapping
ImportError: cannot import name 'MutableMapping'  from 'collections' (/data/user/0/org.qpython.qp y/files/lib/python3.11/collections/__init__.py)

Stack overflow discussion for the error: https://stackoverflow.com/questions/59636631/importerror-cannot-import-name-mutablemapping-from-collections