Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: Matplotlib with kivy android #2658

Closed
zaheerkzz opened this issue Aug 22, 2022 · 1 comment
Closed

KeyError: Matplotlib with kivy android #2658

zaheerkzz opened this issue Aug 22, 2022 · 1 comment

Comments

@zaheerkzz
Copy link

Software 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

@misl6
Copy link
Member

misl6 commented Aug 23, 2022

Duplicated of #2659

@misl6 misl6 closed this as completed Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants