sys.path.append(os.path.split(rootPath)[0]). 2.最简单的方法:main.py(程序执行入口) 放到项目根目录下执行. python自定义包或模块在Linux服务器导入错误的解决 ...
確定! 回上一頁