Super User is a question and answer site for computer enthusiasts and power users. 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 am trying to install Python module on my machine. While installing, there is an error on terminal.

It was OK until this step:

Writing /usr/local/lib/python3.2/dist-packages/athletelist-1.0.0.egg-info

Then it shows an error:

error: /usr/local/lib/python3.2/dist-packages/athletelist-1.0.0.egg-info: Permission denied

Why? How to solve this problem?

PS. I use Ubuntu 11.04 and I am quiet new on Linux World.

share|improve this question

migrated from Sep 3 '11 at 15:11

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

The important part is Permission denied: You just don't have the right to write to system folders.

The simplest fix is to prefix the failing command with sudo, that is with root/administrator privileges.

In the long run you should learn about Unix permissions.

Another way would be to install the package in your home directory but that may not be an option depending on your plans for the new package.

share|improve this answer
Thanks a lot. Yes..I should learn about Unix. – Chhantyal Sep 3 '11 at 13:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .