Hi, guys.
I’m having trouble importing local packages in my addon using absolute imports. Relative imports work, but I need some classes to use absolute imports only, as they need to be imported dynamically.
Any advice on how to handle this?
I’m developing an addon using the Blender Development extension for VSCode. I can’t manage to import the src
package in the root __init__.py
using absolute imports (from src import *
). I also can’t import anything from factories
that I need to use inside the plugin_cameras
package.
Has anyone encountered this issue before?