After opening eclipse, click window – > Preferences-> PyDev-> Interpreters-> Python interpreter options
Open the libraries tab below, click new folder on the right, go to the computer hard disk and select the superior directory of the package to import
It could be the SRC directory. The problem I encountered was choosing the SRC directory. Then restart eclipse, Done!
Similar Posts:
- Python learning notes – Import utils error
- Failed to load the native TensorFlow runtime [Solved]
- How to Solve Error: The project description file (.project) for i…
- How to handle the eclipse error message the declared package does not match the expected package
- Project interpreter not specified(eclipse+pydev)
- Error reporting of importing tensorflow package from pycharm
- The problem of error reporting when importing openpyxl from Python has finally been solved
- The difference between web app libraries and referenced libraries in eclipse project
- Some projects cannot be imported because they already exist in the workspace
- The solution of the import javax.servlet cannot be resolved in Java