command + alt +r打开项目设置
command + alt +r
在整个项目的python路径配置里 将workspace设置为当前目录
转载于:https://www.jianshu.com/p/8ff645bb9681