The reason for the problem: this kind of problem is generally should be will python.exe The file has been renamed
Solution: there are generally two ways:
1: change the file name back (basically, it won’t be changed back, because the file name is usually changed to include both python2 and python3 on the computer. In order to add environment variables and successfully run two different versions of python, the file name is usually changed)
2: modify the python path of eclipse
Modify in window – & gt; preferences – & gt; pydev – & gt; interpreters – & gt; Python interpreter
Use the remove button to delete the paths of the two Python versions, then click browse for Python/pypy exe, re select the path of python, and finally click apply and close
At this time, the project file still reports an error. At this time, select the project that reports an error, right-click and select the properties option – & gt; pydev interpreter/grammar, then switch to interpreter and select the corresponding Python Version (default)– currently:python2 Finally, click apply and close. Finally, restart eclipse
Read More:
- Run Python file for the first time with eclipse / pydev: “UTF-8 ‘codec can’t decode byte 0xc4 in position
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- eclipse cdt Program “make” not found in PATH
- Access restriction in Eclipse: the type ‘xxx’ is not API solution
- Webpack error module build failed: typeerror: fileSystem.statSync is not a function
- Maven compilation error: package does not exist jar package does not exist
- “Failed to create interpreter” appears when pychar creates a new project
- U disk installation Linux system could not boot, / dev / root does not exist and the identified hard disk space is not available
- In the SQL query statement, add the column that does not exist in the table and set the fixed value of the column
- Solve boot prompt“ error:unknown filesystem Grub rescue “problem
- error CS0234: The type or namespace name ‘UI‘ does not exist in the namespace ‘UnityEngine‘
- Error when opening jeesite project in eclipse
- About the error of base64decoder reference in eclipse
- Eclipse flash back does not open the problem
- Eclipse: unable to open editor: no ID org.eclipse.jdt . ui.CompilationUnitEditor Editor descriptor for
- Solution to the error of @ resource annotation in eclipse spring
- Solution to garbled code problem after importing project in eclipse
- Solution of CONDA (PIP) bad interpreter
- Jdk11, using JavaFX in eclipse
- The solution of red X in eclipse error pages