MacOS 配置python环境
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
网友评论