1. File →Setting →Build,Execution,Deployment →Console →Python Console →勾选Add source roots to PYTHONPAT,如下所示:
2. 右键点击项目工作空间文件夹,找到Mark Directory as 选择Source Root,如下所示
原文地址:https://www.cnblogs.com/zhangshiwu/p/12254450.html
时间: 2024-11-09 10:05:38
1. File →Setting →Build,Execution,Deployment →Console →Python Console →勾选Add source roots to PYTHONPAT,如下所示:
2. 右键点击项目工作空间文件夹,找到Mark Directory as 选择Source Root,如下所示
原文地址:https://www.cnblogs.com/zhangshiwu/p/12254450.html