缘由是: pycharm不会将当前文件目录自动加入本身的sourse_path。pycharm
解决方案:右键make_directory as-->sources path将当前工做的文件夹加入source_path就OK了di