ImportError: No module named distutils.core

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

janson071 gravatar image

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

"sudo python build", it occurs error as follows:

swift-s@swift-s:~/Desktop/nova-2011.2$ sudo python build Traceback (most recent call last): File "", line 24, in <module> from setuptools import find_packages File "/usr/lib/python2.6/dist-packages/setuptools/", line 2, in <module> from setuptools.extension import Extension, Library File "/usr/lib/python2.6/dist-packages/setuptools/", 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

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-04-21 02:49:20 -0600

Seen: 2,640 times

Last updated: Apr 24 '11