my friend had a namespace clobber - slate's insert utils imported a different utils
I don't know best practices or whether import slate.utils as utils is the best solution, but using such an import never caused issues for me. from . import utils can cause issues when trying to run a code file directly (e.g. python classes.py from the command line) vs importing a module that contains such from . import utils statements from other python code.
insert utils
imported a differentutils
import slate.utils as utils
is the best solution, but using such an import never caused issues for me.from . import utils
can cause issues when trying to run a code file directly (e.g.python classes.py
from the command line) vs importing a module that contains suchfrom . import utils
statements from other python code.