1.解决一直索引python目录下的文件
File - Settings - Project: yourprojectname - Project Structure - Right click on folder and press "Excluded"
(1)Add Content Root, 将要Excluded(排除)文件夹加进来
(2)将这个文件夹设置为Excluded