Solved

easy_install feedparser doesn't work

Posted on 2006-11-25
5
683 Views
Last Modified: 2012-06-27
Hi,
I use easy_install to install various eggs with no problem.
I am failing on feedparser.
Any help would be appreciated.
0
Comment
Question by:mco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 17

Expert Comment

by:ramrom
ID: 18012727
I hope another expert is familiar with easy_install and eggs. I am not.

I found the easy_install documentation on-line, so have a little more light. Still not sure what an egg is.

As always please be more specific about "failing" - what happens (error message, computer reboots, ?)
0
 
LVL 25

Expert Comment

by:clockwatcher
ID: 18013356
Is there a reason you don't just download and install feedparser manually (python setup.py install) --

   $ wget http://umn.dl.sourceforge.net/sourceforge/feedparser/feedparser-4.1.zip
   $ unzip feedparser-4.1.zip -d feedparser-4.1
   $ cd feedparser-4.1
   $ python setup.py install

Or do you get an error with a manual install as well?
0
 
LVL 1

Author Comment

by:mco
ID: 18014093
1) "failing" means that the easy_install procedure doensn't find the egg where it is supposed to be on the Net

2) I cannot manually install due to lack of permission. I install eggs on my own path.
    In any case, I would like to us easy_install because it is part of a script that I would like to always get the latest version of this and other eggs.
    Feedparser is in the same list as all the other eggs: http://cheeseshop.python.org/pypi/
0
 
LVL 25

Accepted Solution

by:
clockwatcher earned 50 total points
ID: 18015236
I don't see a download url on the cheeseshop and I'm pretty sure that's how easy_install works.  It searches for a download for the package if you give it an url that returns an HTML page.

Anyway, referencing the package download directly works fine for me:

  easy_install http://umn.dl.sourceforge.net/sourceforge/feedparser/feedparser-4.1.zip

C:\>easy_install http://umn.dl.sourceforge.net/sourceforge/feedparser/feedparser
-4.1.zip
Downloading http://umn.dl.sourceforge.net/sourceforge/feedparser/feedparser-4.1.
zip
Processing feedparser-4.1.zip
Running setup.py -q bdist_egg --dist-dir c:\docume~1\mark\locals~1\temp\easy_ins
tall-zesxyy\egg-dist-tmp-r3lnec
zip_safe flag not set; analyzing archive contents...
feedparser: top-level module may be 'python -m' script
Adding feedparser 4.1 to easy-install.pth file

Installed c:\python24\lib\site-packages\feedparser-4.1-py2.4.egg
Processing dependencies for feedparser==4.1
0
 
LVL 1

Author Comment

by:mco
ID: 18015289
Thanks.
I was just used to giving the package name (e.g. elementtree) as the argument of easy_install and did not know about giving the exact url. The latter is not ideal, BTW, because you will not get the latest version when the version changes.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here I am using Python IDLE(GUI) to write a simple program and save it, so that we can just execute it in future. Because when we write any program and exit from Python then program that we have written will be lost. So for not losing our program we…
Dictionaries contain key:value pairs. Which means a collection of tuples with an attribute name and an assigned value to it. The semicolon present in between each key and values and attribute with values are delimited with a comma.  In python we can…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question