How to solve the eclipse python Unresolved import error in eclipse
This article mainly introduces "how to solve eclipse python Unresolved import errors in eclipse". In daily operation, I believe many people have doubts about how to solve eclipse python Unresolved import errors in eclipse. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "how to solve eclipse python Unresolved import errors in eclipse". Next, please follow the editor to study!
After opening eclipse, click Window- > Preferences- > PyDev- > Interpreters- > Python Interpreter option
Open the Libraries tab below, click the new folder on the right, and go to the computer's hard drive to select the parent directory of the import package.
Could be the src directory. The problem I encountered was choosing the src directory. Then restart eclipse, sometimes without rebooting.
At this point, the study on "how to solve eclipse python Unresolved import errors in eclipse" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!