美文网首页
MacOS 配置python环境

MacOS 配置python环境

作者: Yao_Fairytale | 来源:发表于2018-08-14 07:28 被阅读0次

Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Add PATH to ~/.bash_profile and ~/.zshrc

export PATH=/usr/local/bin:$PATH

Install Python

brew install python

Add PATH to ~/.bash_profile and ~/.zshrc

export PATH=/usr/local/share/python:$PATH

Install helpful modules

pip install virtualenv
pip install virtualenvwrapper
pip install numpy
brew install gcc
pip install scipy
brew install freetype
pip install matplotlib
python2 -m pip install ipython[all]

相关文章

网友评论

      本文标题:MacOS 配置python环境

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