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

Issue with kivy / matplotlib #34

Open
OskarRaftegard opened this issue Feb 17, 2022 · 0 comments
Open

Issue with kivy / matplotlib #34

OskarRaftegard opened this issue Feb 17, 2022 · 0 comments

Comments

@OskarRaftegard
Copy link

When running main.py, I get a blank white screen for a few seconds, then it exits.
Error message: No module named 'kivy.garden.matplotlib.backend_kivy'
(complete error log below)

I've downgraded to kivy=1.10.1 and matplotlib=3.1.3 since these versions are successfully used in other solved issues.


[INFO ] [Logger ] Record log in C:\Users\oskarra.kivy\logs\kivy_22-02-17_4.txt
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v3.7.11 (default, Jul 27 2021, 09:42:29) [MSC v.1916 64 bit (AMD64)]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the "OpenGL" graphics system
[INFO ] [GL ] GLEW initialization succeeded
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b'4.6.0 - Build 26.20.100.7812'>
[INFO ] [GL ] OpenGL vendor <b'Intel'>
[INFO ] [GL ] OpenGL renderer <b'Intel(R) UHD Graphics 620'>
[INFO ] [GL ] OpenGL parsed version: 4, 6
[INFO ] [GL ] Shading version <b'4.60 - Build 26.20.100.7812'>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
Traceback (most recent call last):
File "main.py", line 55, in
from es_gui.apps.data_manager.data_manager import DataManager
File "C:\Users\oskarra\snl-quest-1.2.f-win10\es_gui\apps\data_manager\data_manager.py", line 17, in
from es_gui.resources.widgets.common import LoadingModalView
File "C:\Users\oskarra\snl-quest-1.2.f-win10\es_gui\resources\widgets\common.py", line 11, in
mpl.use('module:https://kivy.garden.matplotlib.backend_kivy')
File "C:\Users\oskarra\Anaconda3\envs\QUEST\lib\site-packages\matplotlib\cbook\deprecation.py", line 307, in wrapper
return func(*args, **kwargs)
File "C:\Users\oskarra\Anaconda3\envs\QUEST\lib\site-packages\matplotlib_init_.py", line 1307, in use
switch_backend(name)
File "C:\Users\oskarra\Anaconda3\envs\QUEST\lib\site-packages\matplotlib\pyplot.py", line 221, in switch_backend
backend_mod = importlib.import_module(backend_name)
File "C:\Users\oskarra\Anaconda3\envs\QUEST\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named 'kivy.garden.matplotlib.backend_kivy'

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

1 participant