alternate module installation

Discussion in 'Python' started by Tom Anderson, Mar 5, 2004.

  1. Tom Anderson

    Tom Anderson Guest

    right, i'm trying to install Mark Pilgrim's feedparser package, and one
    thing it mentions is that it likes to have libxml2 and mxTidy around. i've
    downloaded these, and done configure/make on the C bits, but i'd now like
    to make them available to python.

    i've read the very helpful Installing Python Modules manual, and
    determined that (a) libxml2 and mxtidy have distutils-approved setup.py
    scripts (although feedparser doesn't, but i don't mind that) and (b) since
    i'm on a unix (debian linux) machine on which i'm a lowly luser, i
    probably need to do an Alternate Installation (The Home Scheme), just
    sticking things in my home directory.

    however, when i say:

    python setup.py install --home=~

    it says:

    failed to find headers for libxml2: update includes_dir

    can anyone explain what's going wrong, and what i might do to make it go
    right? there's probably something really obvious i should do, or read, but
    i'm completely at sea with all this.

    thanks,
    tom

    --
    Force the weird stuff down!
     
    Tom Anderson, Mar 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Alfons Puig

    Alternate to HTTP Response Header Refresh

    Alfons Puig, Aug 28, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    617
    Charlie Nilsson [MSFT]
    Aug 30, 2003
  2. C Newby
    Replies:
    7
    Views:
    582
    C Newby
    Apr 2, 2004
  3. Maric Michaud
    Replies:
    0
    Views:
    7,202
    Maric Michaud
    Jun 24, 2006
  4. Chris
    Replies:
    2
    Views:
    736
    Chris
    Mar 4, 2007
  5. Replies:
    10
    Views:
    348
    Sean O'Halpin
    Jul 17, 2006
Loading...

Share This Page