Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5998147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:21:50+00:00 2026-05-23T00:21:50+00:00

After so much of hassle i build the libxml from source . I performed

  • 0

After so much of hassle i build the libxml from source. I performed following steps

  1. Downloaded the lxml.tar.gz and extracted its contents
  2. Build it using

python2.7 setup.py build_ext -i -I /usr/include/libxml2 --with-xslt-config=/opt/xslt/bin/xslt-config

  1. I tried going in python shell and tried import lxml . it didn’t worked

  2. Then i went into directory

    /home/user/tmp/(extracted lxml directory/

and on linux command prompt i typed

PYTHONPATH=src python27

then i tried import lxml and then it worked.

src folder conatains folder name lxml

So i want to know that when i build the lxml does it mean that i always need that directory to use it or i can delete that. If not then in which location do i need to put that folder so that if i run python normal way then i can access that

  1. Does the modules which we build ourselves are not installed in python folder??
  2. Can i make python egg from it
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T00:21:51+00:00Added an answer on May 23, 2026 at 12:21 am

    You told it to build_ext, so it just compiled it and didn’t install. If you told it to install, it would install it in system-wide directory (but you need write permissions for that) or whatever directory you specify (with --home (for installing as user) or --prefix (for installing as root to non-standard directory like under /opt) option).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After much help from all my StackOverFlow brethren, I managed to create a C++
After much googling I have been wondering what the benefits/differences are between mysql and
After much work I finally got a rather complicated query to work very smootly
After much research I am a little confused by which identity tracker I should
After much searching, it looks like I have to assign RegisterComponentsProc and RegisterPropertyEditorProc ,
After much confusion, I have finally managed to successfully deploy a instance of Cruise
It appears after much searching that there seems to be a common problem when
I just implemented the Objective Flicker library for an iPhone app and after much
After reading the Head First Design Patterns book and using a number of other
After the suggestion to use a library for my ajax needs I am going

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.