Probably there is a problem in your workflow; try with load or attach, as explained in the Constructions manual. To use standard Python imports, you can use the sage preparser.