Reputation: 1445
I have my path to the MySQLdb source folder I downloaded using apt-get install python-mysqldb. When I run the import from the command line, it works fine:
I then set my Eclipse PyDev plugin settings to go to the folder containing the MySQLdb stuff:
But my editor is still unable to get rid of the error, even after closing/opening the file and restarting Eclipse:
Here's what's contained at that directory (maybe I'm adding the wrong stuff to the path?:
Does anyone see anything I'm doing wrong or can provide me some insight on how I can get this thing to work within Eclipse PyDev?
Thanks, Kyle
Upvotes: 1
Views: 3138
Reputation: 1445
The problem was solved by removing the python interpreter from the pydev preferences dialog in eclipse, saving the changes, then re-adding the same python interpreter.
Upvotes: 2