- PyCharm IDE Download (https://www.jetbrains.com/pycharm/download/#section=windows)
- Wingware Pythone IDE Pro (http://wingware.com/)
- Python documentation (https://docs.python.org/3/)
- Python built-in functions (https://docs.python.org/3/library/functions.html)
Installation
Windows
- Download both Python2 and Python3 (https://www.python.org/downloads/)
- Install by executing *.msi files
- Copy C:\Python27\python.exe with the name python2.exe
- Copy C:\Python34\python.exe with the name python3.exe
- Add Environment Variables
1) Go to System Variables
2) Add new variables (PYTHON2_HOME: C:\Python27, PYTHON3_HOME: C:\Python34)
3) Add two variables to the end of 'path': %PYTHON2_HOME%;%PYTHON3_HOME%; - Version check
C:\Users\ChangUk> python -V Python 2.7.10 C:\Users\ChangUk> python3 -V Python 3.4.3
Linux (Ubuntu)
- Run the following command:
$ sudo apt-get install python $ sudo apt-get install python3
- Version check
$ python -V Python 2.7.6 $ python3 -V Python 3.4.0
Install pip
Windows
- Download pip-get.py file from here
- Run the command:
C:\Users\ChangUk> python get-pip.py
Linux (Ubuntu)
Install pip:
$ sudo apt-get install python-pip python-dev build-essential $ sudo pip install --upgrade pip $ sudo pip install --upgrade virtualenv
Install pip for Python3:
$ sudo apt-get install python3-pip $ sudo pip2 install MODULE_NAME $ sudo pip3 install MODULE_NAME
만약 pip3로 설치를 진행하려다 'ImportError: cannot import name IncompleteRead' 에러가 발생한다면 pip를 최신 버전으로 업그레이드 해주면 된다. 버전 차이로 인한 문제이다.
$ easy_install -U pip
Install Scientific Libraries for Python
All-in-one: http://continuum.io/downloads
Windows
SciPy (http://scipy.org/)
- Download: http://sourceforge.net/projects/scipy/files/scipy/
- Install: Execute the downloaded *.exe file
Numpy (http://numpy.org/)
- Download: http://sourceforge.net/projects/numpy/files/
- Install:
1) Download Numpy wheel file from here
2) Run following command:C:\Users\ChangUk> pip install numpy-1.9.2+mkl-cp27-none-win_amd64.whl
If you get an error message like "numpy-1.9.2+mkl-cp27-none-win_amd64.whl is not supported wheel on this platform.", reference here. - Tutoiral: http://wiki.scipy.org/Tentative_NumPy_Tutorial
matplotlib (http://matplotlib.org/)
- Download: http://matplotlib.org/downloads.html/
- Install: Execute the downloaded *.exe file
- If you get an error message "not found in registry", try using pre-built Windows installers.
Linux (Ubuntu)
$ sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
PyDev on Eclipse
- Run Eclipse
- Help > Install New Software... > Add... > Name: PyDev Update / Location: http://pydev.org/updates > OK > Keep install process...
- Reference: http://dynamide.tistory.com/1272