The Windows operating system supports Python 2 and Python 3 versions. When downloading and installing, you must select the corresponding Python installation package according to the windows operating system, otherwise the installation will not succeed.
Python is a cross-platform, free and open source computer programming language. It is an object-oriented dynamic type language. It was originally designed to write automated scripts (shell). With the continuous update of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.
Support common mainstream platforms, such as AIX, HPUX, Solaris, Linux, Windows, etc. Except for Windows, common Unix and Linux platforms all have native Python, but the version is generally lower. Regarding cross-platform and other cross-platform languages, it should be noted that some individual modules are unique to a single platform, and the overall cross-platform performance is still very good. It is not necessary to write multiple sets of codes to adapt to multiple platforms.
Content expansion:
windows difference python version
Install python2x, python3x
python.exe in the python2x, python3x directory --- python2.exe python3.exe
Add python2x and python3x to environment variables, separated by semicolons
Delete the pip and pip.xxx.info folders under the python2 and python3 Lib/site-package/ directory
https://pypi.org/project/pip/ Download the pip xxx.tar.gz file, decompress it, and enter the cmd with administrator rights, enter the directory containing setup.py, and execute python2 setup.py install and python3 setup respectively. py install
python2 python3 and pip2 and pip3 detect whether there is a problem with python and pip running
The above is the detailed content of which version of python is supported by windows. For more information about the version of python supported by windows, please pay attention to other related articles on ZaLou.Cn!
Recommended Posts