打开preferences选项找到Project:python,设置Project Interpreter点击配置图标 点击增加,选择anaconda安装目录的bin目录下的python,设置上即可使用。