Lib name missing from import path

In a notebook I import a class created in another notebook,

from pct.utilities import UniqueNamer

However, in the python file it appears as,

from .utilities import UniqueNamer

missing the lib name (pct).

So, when I try and use the release I get this error:

—> 10 from .utilities import UniqueNamer

ImportError: cannot import name ‘UniqueNamer’

What am I missing?

Ha!

I tracked it down to what seems to be that you can’t use the module name “utilities”. Bizarre!

Is that a Python thing or an nbdev thing?

I changed it to “putils” and it all worked.