1、查看python版本
python --version
2、查看所有python版本路径
whereis python
3、pycharm选择对应版本python解释器
在路径File–Settings–Python interpreter–Add Interpreter–Add Local Interpreter–System Interpreter下右击三个点,在如图所示窗口中选择对应路径python版本。
4、完成python解释器选择的结果如图所示
1、查看python版本
python --version
2、查看所有python版本路径
whereis python
3、pycharm选择对应版本python解释器
在路径File–Settings–Python interpreter–Add Interpreter–Add Local Interpreter–System Interpreter下右击三个点,在如图所示窗口中选择对应路径python版本。
4、完成python解释器选择的结果如图所示