crawley
crawley copied to clipboard
Getting an Import error
Any ideas why I'm getting...
ImportError: cannot import name ScopedSession
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.