Install python2.7 on windows 32bit environment

2017/2/14 postscript.

At the time of writing the article, I recommended 2.7 series because the library I want to use may not be compatible with python3 series. Since a considerable number of libraries already support python3, we recommend installing 3 series unless there are special circumstances. In particular, since the handling of character strings is different between python2 series and 3 series, it is safer to use 3 from the beginning than Japanese-speaking people struggling to move from 2 to 3. You can check the compatibility of major python libraries from the following site. https://python3wos.appspot.com/


It is assumed that the 2.7 series and 32-bit version are installed due to the number of libraries that can be used. The procedure itself is the same when installing the 3-series or 64-bit version.

Get the installer

Please follow the steps below to get the installer from the official website.

  1. Visit the Python HP page (https://www.python.org/)

  2. Select windows from the Downloads tab

  3. Scroll down the screen

  4. Find Python2.7.9 (latest version of 2 series as of 2015/3/20)

  5. Click Download windows x86 MSI installer

スクリーンショット 2015-03-20 15.59.33.png

スクリーンショット 2015-03-20 16.08.51.png

スクリーンショット 2015-03-20 16.11.21.png

Installation settings

Double-click the downloaded file [python-2.7.9] to start the installation. Check [Add python.exe to Path] as it will be easier later. The installation settings are on the third page.

スクリーンショット 2015-03-20 16.35.50.png Whether to make it personal or not, so as you like.

スクリーンショット 2015-03-20 16.35.58.png Where to install python. If you are not particular about it, you can leave it as it is.

スクリーンショット 2015-03-20 16.36.09.png Settings at the time of install. I think [Add python.exe to Path] is ☓ by default, If you select [Will be installed on local hard drive], you will not need to go through the PATH later.

スクリーンショット 2015-03-20 16.37.00.png When you reach this page, you're done.

Execution test

To execute it, first start the command prompt. The command prompt can be started by typing cmd in" Search programs and files "in the Start menu and pressing the enter key. スクリーンショット 2015-03-20 16.51.24.pngスクリーンショット2015-03-2016.51.45.png

If you press the R button while holding down the windows key, the following window will start, so you can also start it by typing cmd and pressing the enter key. スクリーンショット 2015-03-20 16.52.00.png

When the command prompt starts, the following screen will appear. Type python in it and press the enter key. If the installation is successful, you should see the python version number and the > >> input console. スクリーンショット 2015-03-20 16.52.24.png

To exit this screen, type ``` >>> quit ()` ``, or press Ctrl-Z and then the enter key to quit python.

Before you start writing a program

Python has a lot of libraries, and you can combine the libraries you want to use. I think we will be creating a new program. It is recommended to install the library after creating a virtual environment instead of installing it directly. The virtual environment is described in here, so please refer to it.

Recommended Posts

Install python2.7 on windows 32bit environment
Install Python development environment on Windows 10
Install python on windows
Install watchdog on Windows + Python 3.3
Build Python environment on Windows
Build python environment on windows
[Python] [Chainer] [Windows] Install Chainer on Windows
Installing Kivy on Windows10 64bit Python3.5
Anaconda python environment construction on Windows 10
Python on Windows
python windows environment
Install xgboost (python version) on Windows
Install Python on Windows + pip + virtualenv
Install Pytorch on Blender 2.90 python on Windows
Installing Kivy-Designer on Windows10 64bit Python3.5
Python 2.7, 3.4, 3.5 extension module build environment on Windows
[Kivy] How to install Kivy on Windows [Python]
Steps to install Python environment on Ubuntu
Creating a python virtual environment on Windows
Install Python on Pidora.
Install Scrapy on python3
Install Python on Mac
Install Python 3 on Mac
Install Python3.4 on CentOS 6.6
Install Anaconda on Windows 10
python basic on windows ②
Install pycuda on Windows10
Install Python 2.7.3 on CentOS 5.4
Install pygraphviz on Windows 10
Install Python 3.3 on Ubuntu 12.04
Install Chainer 1.5.0 on Windows
Install Python 3.4 on Mac
Install Python 3.6 on Docker
Install Python (for Windows)
Build a 64-bit Python 2.7 environment with TDM-GCC and MinGW-w64 on Windows 7
Install and run Python3.5 + NumPy + SciPy on Windows 10
Install Python3, numpy, pandas, matplotlib, etc. on Windows
Install python package in personal environment on Ubuntu
Create an environment of 64bit Windows + python 2.7 + MeCab 0.996
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Install Python 3.5.1 + numpy + scipy + α in Windows environment
[Python] How to install OpenCV on Anaconda [Windows]
Create a Python virtual development environment on Windows
Install ZIP version Python and pip on Windows 10
Install Numpy on virtualenv on Windows
Set-enable Python virtualenv on Windows
Install cvxopt on 64bit Anaconda
Run Openpose on Python (Windows)
How to install Python [Windows]
Install Python environment with Anaconda
Install Win-Kex (kali-linux) on Windows 10.
Install pygame on python3.4 on mac
Windows10: Install python dlib library
Install cvxpy on windows, Anaconda
Python + Kivy development on Windows
Prepare Chainer environment on Windows
Python environment construction (Windows10 + Emacs)
Install Python 3.8 on CentOS 7 (SCL)
Sphinx-autobuild (0.5.2) on Windows7, Python 3.5.1, Sphinx 1.3.5
Fastest Python installation on Windows
Install pandas 0.14 on python3.4 [on Mac]