美文网首页python
mac上Python安装和修改Python默认路径遇到的问题

mac上Python安装和修改Python默认路径遇到的问题

作者: ag4kd | 来源:发表于2018-11-19 22:56 被阅读0次

1.Mac系统自带的python环境在:

Python 2.7.10:

/System/Library/Frameworks/Python.framework/Version/2.7

其中,解释器在该目录下的

 ./bin/python2.7

Python 2.6.9:

/System/Library/Frameworks/Python.framework/Version/2.6

其中,解释器在该目录下的

./bin/python2.6

2.用户安装的python环境默认环境在:

python 3.4.2:

/Library/Frameworks/Python.framework/Version/3.4

其中,解释器在该目录下的

./bin/python3.4

python 2.7.7:

/Library/Frameworks/Python.framework/Version/2.7

其中,解释器在该目录下的

./bin/python2.7 

3.homebrew安装的python在

../Cellar/python3/3.6.1/bin

pip3所在位置

/Cellar/python3/3.6.1/bin/pip3

相关文章

网友评论

    本文标题:mac上Python安装和修改Python默认路径遇到的问题

    本文链接:https://www.haomeiwen.com/subject/yquzfqtx.html