Python在我的计算机上无法识别,但它表示已安装

时间:2016-10-19 14:58:50

标签: macos python-2.7 python-3.x

我遵循了这篇文章的建议,现在我不能再在我的计算机上运行python了。 What is the safest way to removing Python framework files that are located in different place than Brew installs

键入" brew search python"进入终端,它说安装了python和python3。但是,我的终端不识别任何python命令或让我重新安装python

以下是我的bash个人资料

# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH


# Setting PATH for Python 3.4
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"
export PATH

# Setting PATH for Python 2.7
# The orginal version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}"
export PATH

0 个答案:

没有答案