Music speaks stroke test automation - Python environment to build (7)

Python download and install

Python can be applied to multiple platforms including Linux and Mac OS X. You can use the terminal window, enter "python" command to see whether the local version has been installed Python and install Python. If you do not download, you can go to the Python official website: https: //www.python.org/ download, you can download the Python documentation at the following link, you can download the document HTML, PDF and PostScript and other formats.

Python has been ported on many platforms (changed to make it work on different platforms). You need to download the platform you are using a binary code, and then install Python. If your platform binary code is not available, you need to use the C compiler to compile the source code manually. Compiling the source code to make more functionally selective, Python installation provides more flexibility. The following are the platform installation package Download:

Here's how to install Python on different platforms:

 Unix & Linux platform installation Python:

The following is installed on Unix & Linux platform simple steps Python after doing the following, Python will be installed in / usr / local / bin directory, Python libraries are installed in / usr / local / lib / pythonXX, XX use your Python version number.

① Open WEB browser to access https://www.python.org/downloads/source/

② select suitable for Unix / Linux source code archive

③ Download and extract the archive

④ If you want to customize some options you will have to modify the file: Modules / Setup

⑤ ./configure script execution

⑥ make

⑦make install

(2) Windows platform installation Python:

The following is the simple steps to install Python on the Window platform:

Open WEB browser to access https://www.python.org/downloads/windows/

Select Window platform in download list in the installation package, the package format is: python-XYZ.msi file, XYZ is the version you want to install.

To use the installer python-XYZ.msi, Windows system must support Microsoft Installer 2.0 with use. Just save the installation file to your local computer, and then run it to see if your machine supports MSI. Windows XP and later versions have MSI, many old machines can also be installed MSI. (Note: the installation package need to select the appropriate bits according to the computer install Windows)

Once downloaded, double-click the download package into Python installation wizard, the installation is very simple, you just use the default settings Click "next" to complete the installation.

 MAC platform installation Python:

MAC systems are generally comes with Python2.x version environment, you can also download the latest version installed on the link to download address is: https: //www.python.org/downloads/mac-osx/.

Continuously updated every day, the software testing knowledge!

If reproduced, please contact the bloggers!

 

Guess you like

Origin www.cnblogs.com/leboxy/p/10936343.html