Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Installing python2 under windows is compatible with python3 development environment

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Installing python2 under windows is compatible with python3 development environment

Download and install python2 and python3 in different directories

Https://www.python.org/downloads/

My catalogs are

D:\ python3\

D:\ python2

2 modify environment variables

Computer-Properties-Advanced system Settings-Environment variables-Select PATH--- >

Add variable value content D:\ python3\ Scripts\; D:\ python3\; D:\ python2\ Scripts\; D:\ python2\ (the installation path of python2 and python3)

3 modify the application name

Change python.exe under python2 to python2

4 Test whether the installation and configuration is successful

Enter python2 as pyton2 version information under the dos command

Enter python bit python3 version information

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report