Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to Linux but I like it more than windows. I'm trying to install keryx to download update packages for my laptop which I've installed Ubuntu on it yesterday. But while install the terminal gives an url which it says that I should install it.

But the problem when installing it was:

skadush@ubuntu:~/python-distutils-extra-2.35$ python
Traceback (most recent call last):
  File "", line 3, in <module>
    from setuptools import setup
ImportError: No module named setuptools

What does it mean?

share|improve this question
Ubuntu has repos. You don't need to externally update software. Use software updates – Ramchandra Apte Aug 8 '12 at 5:36
Since you ran python (to run the script), you already have python installed. I edited the title of your question to reflect this. I would advise against keryx. You probably don't need it, and it hasn't been updated in a year and a half. – dsh Aug 8 '12 at 16:06

You should install programs from Ubuntu repositories with Ubuntu Software Centre or apt-get. Ubuntu Software Centre like Android market or Apple app store. It can be found at left in Main menu.
And if you get on well with console, use apt-get:

sudo apt-get install python
pythonInstall python

ohh You should install python-setuptools module. try:

sudo apt-get install python-setuptools python-distutils-extra

python-setuptoolsInstall python-setuptools and python-distutils-extraInstall python-distutils-extra

but you were trying install from tarball - the wrong way

share|improve this answer
i tried but it says that the follwing application are currently installed – thenewbie Aug 8 '12 at 5:25
then you pretty much have python installed, and you can access it by opening a terminal and typing python in it. – NlightNFotis Aug 8 '12 at 8:09
see. I changed my post. – andreykyz Aug 8 '12 at 10:00

Try a clean python install first remove current python

sudo apt-get purge python

Then run

sudo apt-get install python-all

If this dose not remove python try synaptic package manager

sudo apt-get install synaptic

Search python in the box and tick/untick any wanted/unwanted packages and click apply

Python 3.0 is recommended as the next Ubuntu release will only support this.

Python 2 should already be installed a good way to test this is open a G-edit and copy this in to the file print "hello" then save the file as open a terminal then drag and drop the file into it and press enter, if the terminal displays Hello python is installed and working.

share|improve this answer

The message simply indicates that you don't have python-setuptools installed. The python package mentioned comes from that Ubuntu package.

python-setuptoolsInstall python-setuptools.

The advice in the other answers to install everything from Ubuntu repositories is wise.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.