The solution to ModuleNotFoundError: No module named 'XXX' when calling a custom module

The screenshot of the problem is as follows:
slice description

insert image description here
Solution: Remove the module name when importing the package, and import the package directly

Guess you like

Origin blog.csdn.net/Aihu202/article/details/107578741