Build a Python programming environment on Windows 7. The OS information is as follows.
Download from the Python Home Page (https://www.python.org/downloads/). The version uses 3.4.3.
Run the downloaded installer. Please enable the environment variable setting.
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.
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
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