Open yacubus-bishcus opened 5 months ago
Seems like asyncgui library removed IBox in commit: 4c64603b2479e71ced4f9b8f2b36cd4b68925a69 . This is a party breaker.
Quick solution: pip install asyncgui==0.6.1
You can't import MD classes from kivy. You have to use kivymd instead.
from kivymd.uix.appbar import MDTopAppBar
Code and Logs
from kivy.uix.appbar import MDTopAppBar
Traceback (most recent call last): File "", line 1, in
File myenv/lib/python3.10/site-packages/kivymd/uix/appbar/init.py", line 2, in
from .appbar import (
File myenv/lib/python3.10/site-packages/kivymd/uix/appbar/appbar.py", line 550, in
import asynckivy
File /myenv/lib/python3.10/site-packages/asynckivy/init.py", line 34, in
from ._event import event
File /myenv/lib/python3.10/site-packages/asynckivy/_event.py", line 5, in
from asyncgui import IBox
ImportError: cannot import name 'IBox' from 'asyncgui' (/home/jbickus/myenv/lib/python3.10/site-packages/asyncgui.py)
Versions