Notice
Recent Posts
Recent Comments
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Archives
Today
Total
관리 메뉴

jhoons' Life

MacBook Python Environment 본문

Tech./Python.

MacBook Python Environment

jhoons 2018. 1. 18. 06:58

맥 터미널 

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:
    1. >>> dotfiles update

 

[ Virtualenvwrapper ] : virtualenv 사용법

 

  1. Create virtualenv
    1. >>> mkvirtualenv (env_name) --python=<python_version>

 

  1. Remove virtualenv
    1. >>> rmvirtualenv (env_name)

 

  1. Get into virtualenv
    1. >>> workon (env_name)

 

  1. Get out of virtualenv
    1. >>> deactivate

 

 

'Tech. > Python.' 카테고리의 다른 글

맥북에 Python 설치하기.  (0) 2017.08.05
Python Objective-Oriented Programming Tutorial  (0) 2017.07.27
Awesome Python Visualization Tools  (0) 2017.07.23
Comments