quantum-2012.1~e2 ImportError: No module named server

asked 2012-01-05 08:09:42 -0600

gandalf100 gravatar image

After installing using the following commands:

tar zxvf quantum-2012.1~e2.tar.gz

cd quantum-2012.1~e2.

pip install -r tools/pip-requires

python setup.py install


I get the following error:

Traceback (most recent call last): File "/usr/local/bin/quantum-server", line 9, in <module> load_entry_point('quantum-server==2012.1dev', 'console_scripts', 'quantum-server')() File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) ImportError: No module named server

edit retag flag offensive close merge delete

12 answers

Sort by ยป oldest newest most voted

answered 2012-01-09 17:30:59 -0600

I have got the same error. Waiting for the fix. Thanks

edit flag offensive delete link more

answered 2012-01-05 18:15:10 -0600

bgh gravatar image

There is definitely a bug in the current setup.py -- this will be replaced pretty soon (there is a change in code review right now to move us to a real setup.py). In the meantime, you can work around this by doing the following:

for x in client server common; do python setup_${x}.py build; done python setup.py install

Then run quantum-server

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-01-05 08:09:42 -0600

Seen: 606 times

Last updated: Jan 12 '12