Python installation: 1) download Python. There are two versions on the home page. I downloaded the version 2.7 (it is hard to understand that the Python official website must be accessible through the wall flip software). 2) after decompression, in this directory, run the following commands in sequence to install: ). /configureb) makec) makeinstall to check whether Python has been installed successfully: Enter python in the command line, and press Enter. If the python prompt is displayed, that is, the table
Python installation:
1) download Python. There are two versions on the home page, and I downloaded the version 2.7 (it is hard to understand that the Python official website must be accessible through the wall flip software)
2) decompress the package and run the following commands in the directory to install the package:
A)./configure
B) make
C) make install
Verify that Python is successfully installed:
Enter python in the command line and press Enter. If you see the python prompt, the installation is successful.
Install the Pexpect module:
1) download the module and decompress it.
2) decompress the package and run python./setup. py install in the directory (the root permission is required)
Check whether the Pexpect module is successfully installed:
Run the example in examples under the Pexpect directory for verification.