Home > Article > Backend Development > How to install python3.5 pip3 in windows10
This time I will show you how to install 3.5 pip3 in python3.5 in Windows 10. What are the precautions when installing python3.5 pip3 in Windows 10? , the following is a practical case, let’s take a look.
Recently, Google’s official developer blog announced that the new version of Tensorflow (0.12) will add support for Windows. I want to try to learn tensorflow under Windows 10. I have installed anaconda2 (python2.7) before, but I am afraid of installing python3. .5 will conflict, but I still wanted to try it and finally succeeded.
Download address: Official website address
This is the installation package of the latest version of python 3.x that I downloaded
Install python 3.x
Select custom installation here because the default installation location needs to be modified. In addition, the "Add Python 3.5 to PATH" option is checked here, which will automatically configure the environment Variables
"Install for all users" is checked here And customize the installation path to "C:\Python35"
Therefore, the things we have to solve now are:
To install python 2 .x and python 3.x related commands are distinguished;
Operation steps: Right-click My Computer/This Computer--> Properties --> Advanced system settings --> Advanced tab (default) --> Environment variables --> Path under system environment variables -->Edit
Add the following line to the beginning of the Path variable:
C:\Python35;C:\Python35\Scripts;
Finally this is:
Distinguish the related commands of python 2.x and python 3.x;
The solution is: separate all commands under python 3.x Add a 3 after the file name, such as: python ==> python3
## 7. Test:
Note: Be sure to restart the command terminal, otherwise the path variable will not be reloaded. The test found that there is a problem with pip3. In fact, the version of pip is too low. Just upgrade it: python3 -m pip install -U pip Everything seems to be OK! I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to other related articles on the php Chinese website! Recommended reading:How to implement Mahalanobis distance in Python
The above is the detailed content of How to install python3.5 pip3 in windows10. For more information, please follow other related articles on the PHP Chinese website!