打开一个新项目,点击File->Settings 找到Project->python interpreter 新增环境,点击add interpreter->add local interpreter 点击select existing->conda,选择地址为:anoconda/library/bin/conda.bat,就可以选择虚拟环境了。