1.Python3 Start

2017-11-08  本文已影响18人  fumier

Python特点

mac Python3环境搭建

1.下载安装python3,https://www.python.org/
2.设置环境变量,vim ~/.bash_profile
3.通过which python3找到安装路径

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

4.使配置生效,source ~/.bash_profile
5.命令行输入python3, 查看安装版本信息。

上一篇 下一篇

猜你喜欢

热点阅读