[Pydev-users] Import problem with sqlite3
Brought to you by:
fabioz
From: Alex B. <ale...@gm...> - 2011-07-29 21:57:32
|
Hello, it was a while since I last used PyDev and now I see that it's so much better! I was checking some already working code I had and have a problem with sqlite3. I'm on a Ubuntu 11.04 and python3.2. Running Eclipse 3.5.2 with PyDev 2.2.1 PyDev says "Undefined variable from import: connect" when I do a harmless sqlite3.connect The program works fine, simply that messages appear there and it's very annoying (provided that it's an *Error*, not a warning...) If I use the same code for python2.7 then PyDev do not complain. Works fine in both versions. The path and folders are the same in both Python configurations (some /usr/lib/python* and some /usr/local/lib/python*). Somebody has the same problem? I haven't tried it in other systems or python/eclipse configurations (yet). |