1、打开pycharm
2、进入 File->Setting->Project:你的项目名->Project Interpreter
3、通过Project Interpreten选择python2或3,如下图:
1、打开pycharm
2、进入 File->Setting->Project:你的项目名->Project Interpreter
3、通过Project Interpreten选择python2或3,如下图:
转载于:https://www.cnblogs.com/danmai/p/9327133.html