Ask Your Question
0

ImportError: No module named routes.middleware

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

linyouqing7 gravatar image

$ swift-init all stop

git clone https://github.com/rackspace/keystone.git (https://github.com/rackspace/keystone...) /usr/src/lyq/keystone

cd keystone && python setup.py 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/config.py", line 29, in <module> from keystone.common.wsgi import add_console_handler File "/usr/src/lyq/keystone/keystone/common/wsgi.py", 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
0

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

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 setup.py 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

Stats

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

Seen: 280 times

Last updated: Sep 19 '11