在pycharm里 设置python的project Interpreter

背景:本人 在本地安装了Python2 和3 以及pycharm ,在给pycharm 设置2套project Interpreter时发现:Python2的Project Interpreter 设置时总是报UnicodeDecodeError: 'ascii' codec can't decode byte 0xb0 in position 1:ordinal not in range(128)。

错误的操作如下:

         在pycharm里 设置python的project Interpreter

 

在pycharm里 设置python的project Interpreter

 

正确做法:

在为python 添加Interpreter 是选择【system Interpreter】,然后选择一个安装后的python.exe 再点击确定。这样安装的python Interpreter 不报错。上面的错误做法为啥会是这样,本人半天时间都浪费了,还没搜索出正确的解释。有人知道可以告诉我下,谢谢!

在pycharm里 设置python的project Interpreter