No module named Error when importing from another file in an addon
Actually I found the solution thanks to the help of someone else:
My problem was I wasn't using relative imports, don't use sys.append
instead use relative imports like this and it worked:
#import classes
from .save_shader_map import SHADER_PRESETS_UL_items, ShowMessageOperator
#import functions
from .save_shader_map import get_preferences, get_selected_folder_presets, json_to_nodes_dict