qpython icon indicating copy to clipboard operation
qpython copied to clipboard

matplotlib-aipy3 is not compatible with python v3.11

Open rohandebsarkar opened this issue 2 years ago • 0 comments

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

rohandebsarkar avatar Feb 09 '23 03:02 rohandebsarkar