Python installation, python
Install Python in Win10
1. Download the Python installation package from the official website and click Next to install it.
After installing Python, set the environment variables, right-click my computer --> properties --> advanced system settings --> environment variables --> PATH --> edit --> Add the Python installation PATH to the end --> click confirm.
After the installation is successful, enter python in the cmd console, as shown in:
2. Download and install pip from the official website
After the download is complete, decompress the package to a folder, use the cmd console to enter the decompressed directory, and enter python setup. py install. After installation, you also need to set the environment variable and add C: \ Python27 \ Scripts;
3. Install the algorithm library
Installation sequence: numpy --> scipy --> matplotlib --> scikit-learn, and then install other algorithm libraries, such as Theano.
Decompress the downloaded Algorithm Library to the specified folder, and place it in C: \ Users \ spider \ Downloads. Go to the cmd console to enter the folder, enter the "pip install file name" command in sequence. If the installation is successful, a message is displayed, as shown in figure (red indicates the input command, and yellow indicates the algorithm library installation is successful ):
Python and Algorithm Library have been installed. Next, install and configure the development environment!