Solution to python2 and python3 command name conflict

question

python2 and python3 are installed at the same time. When python is entered in cmd, the commands conflict.

solve

Copy python.exe in the python2 folder and name it python2.exe;

The name in the python3 folder is python3.exe.

In the future, change python to python3 to call python3, and change python to python2 to call python2.

Guess you like

Origin blog.csdn.net/m0_46948660/article/details/135294252
Recommended