Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/list/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos python版本没有';OSX上的t更新_Macos_Python 3.x_Upgrade - Fatal编程技术网

Macos python版本没有';OSX上的t更新

Macos python版本没有';OSX上的t更新,macos,python-3.x,upgrade,Macos,Python 3.x,Upgrade,我刚刚在OS X 10.9.1上安装了python 3.3.3,但是当我从终端运行python时,显示的版本是2.7.5。我做错了什么?我怎样才能纠正它?根据Martijn Pieters的评论,我使用了python3,现在它可以正常工作。使用正确的路径;您正在运行OS X/usr/bin/python解释器。试试python3。

我刚刚在OS X 10.9.1上安装了python 3.3.3,但是当我从终端运行python时,显示的版本是2.7.5。我做错了什么?我怎样才能纠正它?

根据Martijn Pieters的评论,我使用了
python3
,现在它可以正常工作。

使用正确的路径;您正在运行OS X
/usr/bin/python
解释器。试试python3。