When I write import MySQLdb
in Eclipse using the PyDev plugin, I get an unresolved import. However, the program runs without error. I can add an annotation to get
This surely works I just tried it with Pmw package. Unzip package in site-packages. Then remove python interpreter from eclipse and then add it again. Your import errors shall go away. also you may want add module to forced builtins. See How do I fix PyDev "Undefined variable from import" errors? and http://pydev.org/manual_101_interpreter.html