pycharm使用anaconda的python环境

在pycharm中,点击菜单栏 "File" ,找到 "Settings"

点开 "Project datastructure" ,选择 "Project Interpreter"

在 "Existing interpreter" 下的 "Interpreter" 右侧下拉框找到自己安装的anaconda位置中的python.exe

确定即可

原文地址:https://www.cnblogs.com/lely/p/10579997.html