Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I've been trying to install a Python module,the feedparser. I downloaded it zipped, I unzipped it and I then typed "python setup.py install" on the terminal, while I was ...
  1. #1
    Just Joined!
    Join Date
    Sep 2009
    Location
    Athens,Greece
    Posts
    3

    Lightbulb [SOLVED] Difficulty in installing feedparser module for Python

    Hi,
    I've been trying to install a Python module,the feedparser. I downloaded it zipped, I unzipped it and I then typed

    "python setup.py install"

    on the terminal, while I was in the directory where the "setup.py" file of the feedparser was saved. As the installation initialized and then went on, at some point, i got an error message:

    "error: /usr/local/lib/python2.6/dist-packages/feedparser.py: Permission denied"

    and the above was printed right after this:

    "copying build/lib.linux-i686-2.6/feedparser.py -> /usr/local/lib/python2.6/dist-packages"

    Apparently,the directory /usr/local/lib/python2.6/dist-packages is where the feedparser is to be installed. But what I cannot understand is how could a file not yet created by the installer be in the unavailable for modification,thus obstructing its creation.

    It is obvious that i have seriously misunderstood this issue, and I would be grateful if somebody took some time to explain me what it is. I have tried googling the output of the installer,as well as reading some tutorials on the installation of python modules, but still i am unable to solve this.

    Thank you in advance

  2. #2
    Just Joined!
    Join Date
    Sep 2009
    Location
    Athens,Greece
    Posts
    3
    It worked. I guess that it's simple after all: The permission to that file was denied to the normal user,not the superuser.


    Thank you very much for your help, and sorry If my naive question was a waste of time,i should look through documentation more carefully next time.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...