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. Advertisements

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. alex
    Replies:
    1
    Views:
    962
    Dieter D'Hoker
    Jun 25, 2004
  2. Raphael Bossek
    Replies:
    1
    Views:
    367
    Nicholas Wieland
    Aug 21, 2003
  3. =?iso-8859-1?q?Gonzalo_Sainz-Tr=E1paga_=28GomoX=29

    Local module installation

    =?iso-8859-1?q?Gonzalo_Sainz-Tr=E1paga_=28GomoX=29, Feb 17, 2005, in forum: Python
    Replies:
    0
    Views:
    348
    =?iso-8859-1?q?Gonzalo_Sainz-Tr=E1paga_=28GomoX=29
    Feb 17, 2005
  4. Replies:
    1
    Views:
    451
  5. Maric Michaud
    Replies:
    0
    Views:
    7,357
    Maric Michaud
    Jun 24, 2006
  6. Russ
    Replies:
    3
    Views:
    454
    Gabriel Genellina
    Feb 21, 2007
  7. Chris
    Replies:
    2
    Views:
    1,073
    Chris
    Mar 4, 2007
  8. Replies:
    10
    Views:
    554
    Sean O'Halpin
    Jul 17, 2006
Loading...