Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Sep 3 '11 at 15:11

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

1 Answer 1

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

Your Answer

 
discard

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.