我尝试在我的mac上安装新版本的python(3.4)并按照这些步骤(link),但现在我无法在终端上使用python命令,每次我输入python时都会给出我错了:-bash:python:command not found
我已经尝试了#34; python"," python3"," python -V"命令,但它不起作用。 当我输入这个命令" ls -la / usr / local / bin / python *"它显示安装了python 3.4。
lrwxr-xr-x 1 root wheel 24 Jul 1 20:15 /usr/local/bin/python -> /usr/local/bin/python3.4
lrwxr-xr-x 1 root wheel 69 Jul 1 15:30 /usr/local/bin/python3 -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3
lrwxr-xr-x 1 root wheel 72 Jul 1 15:30 /usr/local/bin/python3-32 -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3-32
lrwxr-xr-x 1 root wheel 76 Jul 1 15:30 /usr/local/bin/python3-config -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3-config
lrwxr-xr-x 1 root wheel 71 Jul 1 15:30 /usr/local/bin/python3.4 -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4
lrwxr-xr-x 1 root wheel 74 Jul 1 15:30 /usr/local/bin/python3.4-32 -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4-32
lrwxr-xr-x 1 root wheel 78 Jul 1 15:30 /usr/local/bin/python3.4-config -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4-config
lrwxr-xr-x 1 root wheel 72 Jul 1 15:30 /usr/local/bin/python3.4m -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4m
lrwxr-xr-x 1 root wheel 79 Jul 1 15:30 /usr/local/bin/python3.4m-config -> ../../../Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4m-config
请帮我解决这个问题。我怎样才能从终端开始使用python。