同时安装了python和3,pycharm如何切换版本 1、打开pycharm 2、进入 File->Setting->Project:你的项目名->Project Interpreter 3、通过Project Interpreten选择python2或3,如下图: