python :Configuration is still incorrect. Do you want to edit it again?

1、打开PyCharm,点击菜单栏的“File”->“Settings”。

python :Configuration is still incorrect. Do you want to edit it again?_第1张图片

2、在弹出的“Settings”对话框中选择“Project:文件名”,其中“文件名”对应你打开的文件名称,在右侧选择“Project Interpreter”。

 python :Configuration is still incorrect. Do you want to edit it again?_第2张图片

 3、在“Settings”对话框的右侧区域有一个“Project Interpreter”下拉框,选择“Show All…”。

python :Configuration is still incorrect. Do you want to edit it again?_第3张图片

 4、在弹出的“Project Interpreters对话框的左上角,选择“+”按钮。

python :Configuration is still incorrect. Do you want to edit it again?_第4张图片

 5、新窗口弹出“Add Python Interpreter”,选择左侧的“Virtualenv Environment”,如果你安装了python会在右侧interpreter出现相应的目录,一般选择默认即可,点击“OK”确定。

python :Configuration is still incorrect. Do you want to edit it again?_第5张图片

6、操作成功后,软件会回到“Project Interpreter”对话框,之前空空如也的列表多出来一个目录,点击“OK”确定。

 python :Configuration is still incorrect. Do you want to edit it again?_第6张图片

 7、回到“Settings”,可以看到右侧显示出一组列表,那么表示设置成功,点击“OK”确定。

你可能感兴趣的:(Python,pycharm,ide,python)