标签: python python-3.x pycharm
我拥有的是这样的结构:
modules.py script1.py script2.py
script1.py使用modules.py中的某些功能,而script2.py使用Popen将script1.py作为子进程启动。但是,我最终收到Modulenotfound错误。但是当直接运行script1.py时,它运行良好,并且我没有遇到Modulenotfound错误。