Error when using a package

Iโ€™m trying to use the functions of a package and Iโ€™m getting this error when I just F5(if I restart the app via command prompt, everything works), does anyone know what it is about?

To reproduce the error, just create a package and try to use one of its functions. Here, Iโ€™m doing:
from src.models.model import load_model, train_model

image