无法使用 python 3.6
Can't use python 3.6
I'm trying to work with python 3 and not python 2, I tried:
我点击了"Apply"
在这里,我也点击了应用。
但是当我检查我的版本时,它仍然是 2.7:
我该怎么办?
我正在使用 Mac OS X 10.11.1
您正在使用终端机的 python
而不是 PyCharm。如果您想更改默认值 Python,则需要更新 $PATH
变量。查看更多:how to change default python version?
如果您只想使用 PyCharm,只需右键单击该文件并单击 运行。
I'm trying to work with python 3 and not python 2, I tried:
我点击了"Apply"
在这里,我也点击了应用。
但是当我检查我的版本时,它仍然是 2.7:
我该怎么办?
我正在使用 Mac OS X 10.11.1
您正在使用终端机的 python
而不是 PyCharm。如果您想更改默认值 Python,则需要更新 $PATH
变量。查看更多:how to change default python version?
如果您只想使用 PyCharm,只需右键单击该文件并单击 运行。