Installation and python2 python3 on win10

Excerpt: https://www.cnblogs.com/wqzn/p/10424565.html    be a record.

Python3.6 installation process:

Select Custom installation:

 

Directly next

Installation for all users on the computer

Then install on ok!

After the installation is complete, windows + r ---- "Enter cmd ---" input python -V to view the version.

If you want to install python3 it, see it here. With this python3.6 installation is complete!

If you only want to install Python3.6 also want to install Python2.7, please read on.

The installation process Python2.7

 Installation for all users

Finally leave, expand select the first, the election of the first, the first important thing to say three times! ! !

 

 

Then wait for the installation to complete on OK.

Both want to install Python3.6 also want to install python2.7 it would have to configure the environment variables!

 Find your computer, stand-alone property right, you will see the following figure.

 

 

Then you can find that has python3.6 and python2.7 environment variables.

Then find python3.6 and Python2.7 installation directory. Python.exe find the file, if your computer does not have an .exe file, click View, then the file extension check mark marked.

Then your Python.exe copy of the document, named python3, Python2.7y also do the same.

Then enter the following figure see if there Scripts directory under the file.

 

Then Windows + r, execute cmd command, and then execute the following content, you will be able to distinguish between the Python3.6 and 2.7.

Then on your Python3.6 environment variable shift to OK!

Then open a new command prompt, enter the following figure to check content is OK

Guess you like

Origin www.cnblogs.com/andrew-303/p/12160742.html