Try to have the imports indented correctly. For example you should write
from dipy.reconst.dsi import (DiffusionSpectrumModel,
                                              DiffusionSpectrumDeconvModel,
                                              create_qspace)