Get the App
SLTechnology News&Howtos  ›  Servers  › 

Coexistence of python2 and python3 under win10

Shulou Source: shulou.com Published: 2022-06-02 21:18:15 09月22日 Update

1. Install python2 and python3 in turn and add them to the system environment variable

two。 Find the installation directory of python3, usually in the C:\ Users\ Administrator\ AppData\ Local\ Programs\ Python path, and modify the names of python.exe and pythonw.exe in python3.6 to python3.exe and pythonw3.exe.

3.CMD window to view the python version

4. Install pip3

Python3-m pip install-upgrade pip-force-reinstall

5. Check to see if pip3 is installed successfully

As shown in the figure above, pip3 has been successfully installed.

Tags: Success above variable name version environment directory system path problem Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Huawei Shulou Technology Apple MySQL