自己安装了python 3.10
项目使用环境为 python 3.6
1、打开Pycharm,file->Settings
2、Project->Project Interpreter
3、右侧设置->add
4、New environment,Base interpreter 为python3.6地址
5、点击OK
6、如果其他项目需要python3.10 在Project Interpreter可以切换
自己安装了python 3.10
项目使用环境为 python 3.6
1、打开Pycharm,file->Settings
2、Project->Project Interpreter
3、右侧设置->add
4、New environment,Base interpreter 为python3.6地址
5、点击OK
6、如果其他项目需要python3.10 在Project Interpreter可以切换