Re: [sqlalchemy] PyDev throwing errors in the SQLAlchemy Library

2014-08-18 Thread Zakaria Boulouard
.__file__ Simon On Sat, Aug 16, 2014 at 2:41 PM, Zakaria Boulouard zboulou...@gmail.com wrote: Hello Michael and thanks for your help, If there is anyway to make it work in PyDev that would be great because I want to integrate a similar code into a bigger project and PyDev would be more

[sqlalchemy] PyDev throwing errors in the SQLAlchemy Library

2014-08-16 Thread Zakaria Boulouard
Hello guys, I am new to SQLAlchemy and I wanted to try an example using a MySQL database and PyDev as an IDE but when I run it, PyDev gives me the following error : Traceback (most recent call last): File /usr/lib/python2.7/site.py, line 68, in module import os File

Re: [sqlalchemy] PyDev throwing errors in the SQLAlchemy Library

2014-08-16 Thread Zakaria Boulouard
that is causing SQLAlchemy to be imported improperly. This is probably some PyDev issue. If you install SQLAlchemy in a virtualenv normally and run the script from the console it should be fine (runs over here OK). On Aug 16, 2014, at 4:13 AM, Zakaria Boulouard zboulou...@gmail.com wrote