Friday, 16 December 2022

Unable to import package and module KIVY

Any idea what I am missing here? I am trying to import functions from function.py to dashboard.py using " from .db_functions.function import * ".

It looks like function.py cannot be found and then dashboard.kv cannot be imported to the main view.

Here is my NEW folder structure for this dashboard view, same error:

enter image description here

enter image description here

EDIT: I changed the file structure and now I am using the import as suggested in the comments:" from function import general_insert "



from Unable to import package and module KIVY

No comments:

Post a Comment