Installing Python2 under Windows is compatible with the PYTHON3 development environment

Source: Internet
Author: User

Installing Python2 under Windows is compatible with the PYTHON3 development environment

1 downloads installed in different directories Python2 and Python3

https://www.python.org/downloads/

My directory is

D:\python3\;

D:\python2

2 Modifying environment variables

Computer--Attribute---Advanced system settings--environment variable---SELECT path--->

Add Variable Value contents D:\python3\Scripts\;D: \python3\;D: \python2\scripts\;D: \python2\ (Installation path for Python2 and Python3)

3 Modifying the application name

Change the Python.exe under Python2 to Python2

4 test whether the installation configuration was successful

Enter Python2 as Pyton2 version information under DOS command;

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M02/05/86/wKiom1mmikKR6EhWAAAMNFGJ2ig451.png-wh_500x0-wm_ 3-wmp_4-s_3269153428.png "title=" 2.png "alt=" Wkiom1mmikkr6ehwaaamnfgj2ig451.png-wh_50 "/>

Enter Python bit Python3 version information

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M01/A4/36/wKioL1mmij3RcmVhAAAMv07u6a4621.png-wh_500x0-wm_ 3-wmp_4-s_3611006690.png "title=" 3.png "alt=" Wkiol1mmij3rcmvhaaamv07u6a4621.png-wh_50 "/>


This article is from the "surgery industry has specialized, if only" blog, please be sure to keep this source http://fustudy.blog.51cto.com/13154622/1961163

Installing Python2 under Windows is compatible with the PYTHON3 development environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.