This project has moved and is read-only. For the latest updates, please go here.

Import Error with SQLAlchemy

Jan 2, 2013 at 5:09 PM

I have Visual Studio 2010, 32-bit Python 3.2, and SQLAlchemy 0.8.0b2 installed. The statement...

from sqlalchemy import create_engine

...fails with an import error.

What is odd is that inellisense shows me create_engine as an option.

I have used pydev in Eclipse and been able to import cerate_engine and issue a SQL query without a problem.

Any ideas on where the problem may be?

Jan 30, 2013 at 5:34 PM

(Apologies for the slow response - your post slipped through during holidays and an issue with CodePlex notifications.)

If you continue after the exception (and any subsequent exceptions) does it work? If so, you may be encountering this bug: It's been fixed for our next release, and there are workarounds listed at the associated discussion ( that may help you get going sooner.

If you can't continue after the exception, there's some other issue here so we'll have to look deeper. I think it's most likely that you're just getting unnecessary errors from the debugger, since pydev (and presumably python.exe at the command line?) works.