Common /Python

[Python]3.6.1 설치

언덕너머에 2017. 6. 3. 14:10

Python(3.6.1) 설치


1. Python Download

   Web Site  https://www.python.org

 

2. Download File Install

   Install시 'Add Python 3.6 to PATH' Check


 

3. 설치 확인

   - MAC

      터미널 실행 후

DevInside-MacBookui-MacBook-Pro:~ DevInside$python

 

  - Windows

     Cmd 창 실행 후

C:\사용자경로>python

 

 

* macOS에서 python으로 python3 실행하기

 : python3을 모두 입력하기 귀찮으면 다음과 같이 python만 입력해도 되도록 설정을 변경 할 수 있다.

 ① 터미널에서 open -a TextEdit ~/.bash_profile을 입력

 ② 편집기가 뜨면 맨 아래에 alias python=python3을 입력

 ③ 저장하고 터미널을 종료 후 다시 터미널 실행

 ④ python↵ 입력 후 확인