During code execution, an error except timeoutexception is found. E:
the reasons are as follows:
This code is only available in python2 X is available, and python 3 no longer uses this method
Solution:
Switch the corresponding version to python2
Modify except Exception e:
to except Exception as e: