Catalina4astronomers

From MediaWiki

(Difference between revisions)
Jump to: navigation, search
m (Astropy)
m (Homebrew)
Line 15: Line 15:
== Homebrew ==
== Homebrew ==
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 +
 +
== pip ==
 +
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
 +
python get-pip.py

Revision as of 12:45, 5 September 2020

Contents

Xcode

AppStore: Xcode 
terminal: xcode-select --install

python

brew install pyenv 
pyenv install 3.8.5 # 3.8.5 being the latest python version
pyenv global 3.8.5 # set it as a global default version for pyenv environments
pyenv version
# Edit ~/.bash_profile with 
if command -v pyenv 1>/dev/null 2>&1; then
 eval "$(pyenv init -)"
fi

Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
Personal tools