Ask Your Question

ImportError: No module named routes.middleware

asked 2011-09-13 09:30:34 -0600

linyouqing7 gravatar image

$ swift-init all stop

git clone ( /usr/src/lyq/keystone

cd keystone && python develop

root@swift-proxy:/usr/src/lyq/keystone# ./bin/keystone Traceback (most recent call last): File "./bin/keystone", line 39, in <module> from keystone.common import config, wsgi File "/usr/src/lyq/keystone/keystone/common/", line 29, in <module> from keystone.common.wsgi import add_console_handler File "/usr/src/lyq/keystone/keystone/common/", line 31, in <module> import routes.middleware ImportError: No module named routes.middleware

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2011-09-19 19:52:22 -0600

I solved this issue with installing Routes-middleware and bunch of libs in Ubuntu 11.04

Install libs: sudo apt-get install libxml2-dev libxslt-dev libsqlite3-dev libldap-2.4-2 python-ldap libldap2-dev libsasl2-dev

Then install Routes: sudo easy_install -U Routes

rerun python develop

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-09-13 09:30:34 -0600

Seen: 446 times

Last updated: Sep 19 '11