试试这个:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os, sys;
# get path to this file.
path_this_file = os.path.dirname(os.path.abspath(__file__));
# add path to import files.
sys.path.insert(0, path_this_file + "/pkg_1");
import module_1, module_2;