The solution depends on what you're importing. 1) Your own module from the same package? Use relative imports. 2) Another module, that isn't installed for some weird reason? Install it, or add it to
sys.path
, or import it directly with something like
this. (99% of the time, installing it is the correct solution)