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

  • SEARCH
  • Home
  • 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 8406845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:13:26+00:00 2026-06-09T23:13:26+00:00

Have been using ActivePython on windows7 and lxml seems working without an issue.. There

  • 0

Have been using ActivePython on windows7 and lxml seems working without an issue..
There were a lot of other third party packages I had & they were working too..

Until I wanted to use it inside Web2Py.

All the others seem to be working if I copy them directly inside c:/web2py/applications/myApp/modules

With lxml, seems I need to copy something else..

I have a third party module, which imports lxml like this : from lxml.etree import tostring

It ends up throwing – No module named lxml.etree

My test program outside web2py runs without an issue with both these modules.
When I do a pypm files lxml I see this :
%APPDATA%\Python\Python27\site-packages\lxml-2.3-py2.7.egg-info

What else should I copy along with the lxml directory into the modules directory ?

Pretty sure it’s me doing something wrong instead of Web2py, but can’t put a finger on..

web2py version = Version 1.99.7 (2012-03-04 22:12:08) stable

  • 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-06-09T23:13:27+00:00Added an answer on June 9, 2026 at 11:13 pm

    If you are using the Windows binary version of web2py, it comes with its own Python 2.5 interpreter and is self-contained, so it won’t use your system’s Python 2.7 nor see any of its modules. Instead, you should switch to running web2py from source. It’s just as easy as the binary version — just download the zip file and unzip it. You can then import lxml without moving anything to the application’s /modules folder.

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

Sidebar

Related Questions

I have been using the storyboard to make an application and currently there are
Have been using a simple CSS only tooltip. Working Example css: .tip { position:relative;
I have been using json.NET successfully in projects for some time now without any
I have been using the MGTwitterEngine and it is working fine on IOS 4.x,
I have been using form inheritance for a while now but without doing much
I have been using this function for a while without a problem, although I
I have been using doctrine with zend in a project without modules. It is
I have been using Netbeans for several months now and like it a lot.
I have been using a lot Entity Framework in a MVVM WPF application recently
I have been using TortoiseSVN for some time and I really like it. I

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.