Python environment construction @ Win7

Introduction

Build a Python programming environment on Windows 7. The OS information is as follows. 1.JPG

Python download & install

Download from the Python Home Page (https://www.python.org/downloads/). The version uses 3.4.3.

1.JPG

Run the downloaded installer. Please enable the environment variable setting.

1.JPG

Type python at the command prompt to see if you were able to install.

>python
Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

If you get an error, the environment variable settings are not set correctly.

pip pip is a Python package management software. You can install Python software from the net.

error: Microsoft Visual C++ 10.0 is required

I get an error when installing numpy with pip. Some packages require C / C ++ compilation. The cause of the error is that the compiler is not installed.

pip install numpy
(abridgement)
 error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).

If I install the compiler, the error disappears, Installing a C / C ++ compiler that is not directly related to Python is a hassle. Fortunately, there are sites that distribute binaries compiled for Windows.

Unofficial Windows Binaries for Python Extension Packages

Download the whl format file from here. Specify the file downloaded with pip and install it.

pip install numpy-1.9.2+mkl-cp34-none-win32.whl

Convenient package

This is a convenient package that is useful for numerical calculation and graph creation.

--NumPy: Used for efficient vector / matrix calculations. --SciPy: Used for numerical analysis. (Requires numpy) --Matplotlib: Used for graphing (Requires numpy, dateutil, pytz, pyparsing, six, setuptools) --Pandas: Used for number table / time series data analysis (Requires numpy, dateutil, pytz, setuptools)

Recommended Posts

Python environment construction @ Win7
Python environment construction
Environment construction (python)
python environment construction
Python environment construction
python environment construction
Python3.6 environment construction (using Win environment Anaconda)
python windows environment construction
homebrew python environment construction
Python development environment construction
python2.7 development environment construction
Mac environment construction Python
Python + Anaconda + Pycharm environment construction
CI environment construction ~ Python edition ~
Anaconda3 python environment construction procedure
Python3 environment construction (for beginners)
Python environment construction and TensorFlow
Python environment construction under Windows7 environment
[MEMO] [Development environment construction] Python
Environment construction of python2 & 3 (OSX)
Environment construction of python and opencv
Python environment construction memo on Windows 10
Get started with Python! ~ ① Environment construction ~
Anaconda python environment construction on Windows 10
Python + Unity Reinforcement learning environment construction
I checked Mac Python environment construction
Python environment construction memo on Mac
Python environment construction (pyenv, anaconda, tensorflow)
[Python3] Development environment construction << Windows edition >>
Python development environment construction on macOS
Python environment construction (pyenv + poetry + pipx)
Environment construction of python3.8 on mac
Python3 environment construction with pyenv-virtualenv (CentOS 7.3)
Emacs Python development environment construction memo
pytorch @ python3.8 environment construction with pipenv
[docker] python3.5 + numpy + matplotlib environment construction
OpenCV3 & Python3 environment construction on Ubuntu
Django environment construction
DeepIE3D environment construction
Emacs-based environment construction
Linux environment construction
python environment settings
python windows environment
django environment construction
CodeIgniter environment construction
Word2vec environment construction
[Ubuntu 18.04] Python environment construction with pyenv + pipenv
Python (anaconda) development environment construction procedure (SpringToolsSuites) _2020.4
Python project environment construction procedure (for windows)
[Python] Road to snake charmer (1) Environment construction
VScode environment construction (Windows10, Python, C ++, C, Git)
Environment construction procedure: Ubuntu + Apache2 + Python + Pyramid
Let's get along with Python # 0 (Environment construction)
Windows + gVim + Poetry python development environment construction
Python3 TensorFlow environment construction (Mac and pyenv virtualenv)
Collecting information from Twitter with Python (Environment construction)
[Python] Get environment variables
My python environment memo
[Note] Python environment construction on rental server "CORESERVER"
Environment construction: GCP + Docker
Unification of Python environment