Hi,

I was going through the Werkzeug tutorial at

   http://werkzeug.pocoo.org/documentation/tutorial/

but when I typed the command

    python manage.py initdb

I got the following:

==================================
$ python manage.py initdb
Traceback (most recent call last):
  File "manage.py", line 17, in <module>
    script.run()
  File "/usr/lib/python2.5/site-packages/Werkzeug-0.2-py2.5.egg/
werkzeug/script.py", line 166, in run
    return func(**arguments)
  File "manage.py", line 15, in <lambda>
    action_initdb = lambda: make_app().init_database()
  File "manage.py", line 5, in make_app
    from shorty.application import Shorty
  File "/home/satoshi/Desktop/code/werkzeug_project/shorty/
application.py", line 5, in <module>
    from shorty.utils import session, metadata, local, local_manager,
url_map
  File "shorty/utils.py", line 2, in <module>
    from sqlalchemy.orm import create_session, scoped_session
ImportError: cannot import name scoped_session
==================================

Any idea why scoped_session doesn't get imported?

- Satoshi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to