Python modules have 2 syntaxes for importing.
import x
from x import yAbsolute imports are used for importing top-level modules and only top level modules. These are ones that are globally installed, either inside of Python core or via a package manager (e.g. pip).