MacBook Python Environment

MacBook Python Environment

맥 터미널

iTerm2 : https://www.iterm2.com/downloads.html\

빠른 서치 앱

Alfred : https://www.alfredapp.com/\

 

VirtualEnv 이용해서 파이선 버전 관리

pip install virtualenv (& virtualenvwrapper)

Brew 이용해서 편집기 vim / zshell / wget / git 다운

brew install neovim  (neovim download not necessary for  zsh though…)

brew install zsh zsh-completions  (download zsh and zsh-completions )

brew install wget

brew install git

Oh-My-Zsh 다운로드

sh -c “$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh\)”

 ”Please look over .zshrc file to select plugins, themes, and options.”

 

터미널 활용앱 tmux / Zshell의 플러그인 매니저 Zplug 다운로드

brew install tmux

brew install zplug

 

[ Installing Dotfiles ] : terminal/zsh/vim+a 설정

 - Weblink: https://github.com/wookayin/dotfiles\

  1. git clone –recursive https://github.com/wookayin/dotfiles.git\ ~/.dotfiles

  2. cd ~/.dotfiles && python install.py

  • python install.py –force (if need enforcement)
  1. Update:

  2. >>> dotfiles update

 

[ Virtualenvwrapper ] : virtualenv 사용법

  1. Create virtualenv

  2. >>> mkvirtualenv (env_name) –python=<python_version>

 

  1. Remove virtualenv

  2. >>> rmvirtualenv (env_name)

 

  1. Get into virtualenv

  2. >>> workon (env_name)

 

  1. Get out of virtualenv

  2. >>> deactivate