无法从终端运行Python脚本,但在PyCharm中可以:模块未找到错误
原文英文,约300词,阅读约需1分钟。发表于: 。I have never run python from a terminal before so I don't know what is involved, I have always run my project from PyCharm. My project runs fine from PyCharm. I am running on Linux. My file...
Stuart在Linux终端运行Python项目时遇到模块未找到的错误,而在PyCharm中运行正常。项目结构包含多个包,终端执行时出现“ModuleNotFoundError”。他希望找到简单的解决方案。