Install lxml package on Windows 7



Folks,

I need some help. I need the lxml package to run a particular
Python program.

http://lxml.de/

I downloaded the appropriate binary egg package for lxml, and
I found easy_install.exe in my Python 2.7 distribution. I ran
that.

Then, at the command prompt I typed this:

easy_install --allow-hosts=lxml.de,*.python.org lxml==2.3.4

The usual installation pop-ups appear. "Do I want to allow
such and so to install, etc.". Yes, yes. Finally, I get
a message, "Installation may not have been done correctly."
I have several choices, including "Install with recommended
parameters", which I choose. The installation proceeds without
any other indication of failure.

I presume I have the package installed now. So, I enter
Python and type this:

>>>import lxml

I get an error. No module with that name found, etc.

Sure enough, I look in C:\Python27\site_packages and there
is no lxml-2.3.4 folder.

Any idea what I might be doing wrong?

Thanks,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
.



Relevant Pages

  • Re: Finding installed package files
    ... for making installation information more easily accessible? ... >> somewhere where more information about the key parts of the package ... >> As an example I installed the latest Python on Fedora 3. ... what one would expect is a form of help documentation much more integrated ...
    (alt.os.linux.redhat)
  • Re: Install lxml package on Windows 7
    ... I need the lxml package to run a particular ... I found easy_install.exe in my Python 2.7 distribution. ... I have several choices, including "Install with recommended ...
    (comp.lang.python)
  • Re: "zope3" dependency problem
    ... I am beginner user of etch distribution. ... Installation of "zope3" package causes installation ... If you look at the dependencies for package "python" ...
    (Debian-User)
  • Re: bytecode non-backcompatibility
    ... > I am using Fink to maintain my Python installation and Fink maintains ... > finds that my Python is replaced by a newer version, ... I used the systems package handler. ... > of bytecodes) be made stable, like Java bytecodes, which are pretty ...
    (comp.lang.python)
  • Re: "zope3" dependency problem
    ... Installation of "zope3" package causes installation ... apt-cache show python ... or it is bug in package dependencies. ...
    (Debian-User)