pychorm 报 ModuleNotFoundError: No module named 'util.runmethod' 错误

解决方法:

import sys
import os
curPath = os.path.abspath(os.path.dirname(__file__))
rootPath = os.path.split(curPath)[0]
sys.path.append(rootPath)

原文地址:https://www.cnblogs.com/try-chi/p/11879437.html