crawley icon indicating copy to clipboard operation
crawley copied to clipboard

Getting an Import error

Open graingerkid opened this issue 9 years ago • 1 comments

Any ideas why I'm getting...

 ImportError: cannot import name ScopedSession

graingerkid avatar Jun 12 '15 08:06 graingerkid

Hi, this is due to a problem between the elixir dependency when it uses SQLAlchemy, to solve that i tried with something like

sudo pip install SQLAlchemy==0.7.8

On newer versions of SQLAlchemy the ScopedSession doesn't exist anymore. I'll be freezing the requirements.txt to use SQLAlchemy==0.7.8 version, and in the future use the declarative version of SQL Alchemy to replace elixir.

Thanks for noting this.

bossiernesto avatar Jun 22 '15 16:06 bossiernesto