Ask Your Question
0

ImportError: No module named sphinx.setup_command

asked 2011-02-14 03:30:51 -0500

janson071 gravatar image

when installing nova , after I execute this order:"python2.6 setup.py build",this error occurs: Traceback (most recent call last): File "setup.py", line 24, in <module> from sphinx.setup_command import BuildDoc ImportError: No module named sphinx.setup_command

why? what can I do? thanks for your answers!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-02-14 14:29:16 -0500

jaypipes gravatar image

Hi!

For a quick fix, just do:

sudo apt-get install python-sphinx

or whatever your operating system installation process is :)

After that, please file a bug in Nova. Nova should be using a conditional import of sphinx, like Glance does.

Cheers! jay

edit flag offensive delete link more
0

answered 2011-02-17 01:24:10 -0500

janson071 gravatar image

thank you for your answer!

edit flag offensive delete link more
0

answered 2011-02-17 01:24:36 -0500

janson071 gravatar image

Thanks Jay Pipes, that solved my question.

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-02-14 03:30:51 -0500

Seen: 74 times

Last updated: Feb 17 '11