macbookpro搭载python3.6开发环境
macbookpro无论是哪年出的都可以用来开发,当然我指的是2011年以后的,我用的就是2011年出的mac,i7处理器,自己换的固态硬盘128g,2.8GHZ,系统是10.12.5,很好用。买二手也就2150元,感觉也就这个价钱。
安装chrome浏览器
安装Python3.6
合理的创建标题,有助于目录的生成
修改mac默认python版本 为python3
mac一般自带python2.7
可以修改 ~/.bash_profile (具体的path取决于你的python3安装路径):
macdeair:~ mac$ which python
/usr/bin/python
macdeair:~ mac$ which python3
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3
macdeair:~ mac$ open ~/.bash_profile
或者vim ~/.bash_profile
将.bash_profile文件内容修改成以下内容
# 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
# 添加别名->最终文件
alias python="/