Now, Python2 and Python3 are still in maintenance, due to the difference between the two, in many cases also need to install both on the same computer at the same time.
Specific installation and the installation of Python2 and Python3 on the basis of the implementation of the corresponding installation of Third-party packages can refer to this link
Follow the linked blog solution, after installing the Third-party package, create a new project in Pycharm and execute the Python code as shown in the illustration.
The pink box in the figure below reads:
Error Running One:
Cannot run program, "D:\Python\pythonInstall\python.exe" (in Ditectory "F:\python Workspace\python2\firstt\tt"): CreateProcess error=2, the system could not find the specified file.
From the above error can be seen, the system cannot find Python2.exe. That is because, just in order to successfully install the third party package, in order to enable the computer to accurately distinguish between the python2 to install or Python3 to install, the Python.exe renamed to Python2.exe.
Know how the problem is caused, natural is good to solve, we just have to Python2.exe renamed as Python.exe on the OK.