I would advise to avoid a structure like that. It's probably cleaner to make dir2 a subdirectory of dir1 if module1 depends on module2.
If you insist though, you can add the parent directory to the path and then import as usual, e.g.
import sys
sys.path.insert(0,'..')
after which you can do, in module1,
from dir2 import *