Ask Your Question
0

ImportError: No module named distutils.core

asked 2011-04-21 02:49:20 -0500

janson071 gravatar image

after download nova(Cactus) , extract it, and then execute:

"sudo python setup.py build", it occurs error as follows:

swift-s@swift-s:~/Desktop/nova-2011.2$ sudo python setup.py build Traceback (most recent call last): File "setup.py", line 24, in <module> from setuptools import find_packages File "/usr/lib/python2.6/dist-packages/setuptools/__init__.py", line 2, in <module> from setuptools.extension import Extension, Library File "/usr/lib/python2.6/dist-packages/setuptools/extension.py", line 1, in <module> from distutils.core import Extension as _Extension ImportError: No module named distutils.core swift-s@swift-s:~/Desktop/nova-2011.2$

I am trying to find answer from internet , but no help

what can I do ???

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2011-04-24 23:11:32 -0500

vishvananda gravatar image

did you install python-distutils-extra? also you may have the wrong version of setuptools. The version on my machine is: setuptools-0.6c9

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-04-21 02:49:20 -0500

Seen: 1,767 times

Last updated: Apr 24 '11