give @pyimport error if import name already defined