ModuleNotFoundError: No module named 'model'
问题 I have a package with the following structure: model\ __init__.py (from model.main_trainer import *, etc.) main_trainer.py snn.py splitter.py The main_trainer.py script takes at least three arguments as inputs: #main_trainer.py import numpy as np # Linear algebra import pandas as pd # Data wrangling import re # Regular expressions import matplotlib # Avoid plotting graphs matplotlib.use('Agg') # Custom dependencies from model.snn import * from model.splitter import * def main_trainer(dataset