KeyError: Matplotlib
See original GitHub issueSoftware Versions
- Python: 3.7, 3.9, 3.10
- OS: Ubuntu
- Kivy: 2.1.0
- Kivy installation method:pip install
Describe the bug I have issues with matplotlib==3.1.0 with kivy android build. Its working fine on desktop when i try to build with buildozer it crash android application with an error. KeyError: ‘kivy.garden.matplotlib’
I checked online answers but none helped. https://stackoverflow.com/questions/63655196/how-to-get-rid-of-keyerror-kivy-garden-matplotlib this answer suggests to downgrade matplotlib but it cannot downgrade as it dependent on cartopy
Expected behavior I want to build my app with android
Code and Logs and screenshots
08-22 18:46:12.293 31153 31688 I python : KeyError: 'kivy.garden.matplotlib'
08-22 18:46:12.293 31153 31688 I python : Python for android ended.
Here is project requirements attrs==22.1.0 Cartopy==0.20.3 certifi==2022.6.15 cffi==1.15.1 cfgrib==0.9.10.1 charset-normalizer==2.1.0 click==8.1.3 cycler==0.11.0 Cython==0.29.32 docutils==0.19 eccodes==1.4.2 findlibs==0.0.2 fonttools==4.36.0 idna==3.3 importlib-metadata==4.12.0 Kivy==2.1.0 Kivy-Garden==0.1.5 kivymd==1.0.2 kiwisolver==1.4.4 matplotlib==3.1.0 numpy==1.21.6 packaging==21.3 pandas==1.3.5 Pillow==9.2.0 pycparser==2.21 Pygments==2.13.0 pygrib==2.1.4 pyparsing==3.0.9 pyproj==3.2.1 pyshp==2.3.1 python-dateutil==2.8.2 pytz==2022.2.1 requests==2.28.1 Shapely==1.8.4 six==1.16.0 typing_extensions==4.3.0 urllib3==1.26.11 xarray==0.20.2 zipp==3.8.1
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
HI @zaheerkzz ! Can you please post the full log?
matplotlib recipe is now at 3.5.2 https://github.com/kivy/python-for-android/blob/1f624523753286ab0e8854aede0e0990a98717e3/pythonforandroid/recipes/matplotlib/__init__.py#L10