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 7887319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:32:56+00:00 2026-06-03T05:32:56+00:00

What is the easiest way to install python 2 plus lxml plus mechanize on

  • 0

What is the easiest way to install python 2 plus lxml plus mechanize on windows? I’m looking for a solution that is easy to follow and also makes it easy to install other libraries (eggs?) in the future.

Edit
I want to be able to install libraries which require a compiler. Ruby for windows has a dev kit which allows you to easily install gems that require a compiler. I’m looking for a similar setup for Python.

  • 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-03T05:32:58+00:00Added an answer on June 3, 2026 at 5:32 am

    For the simplest installation of these components, I recommend going with 32-bit installers for the whole process, so all the links here point to the 32-bit versions. First, download and install Python 2.7.3.

    Then you will want to install setuptools Setuptools will make it so you can type “easy_install” in the command prompt and add additional packages. It will come in handy for mechanize.

    Now you can download and install lxml for Python 2.7.

    Up until now they were all MSI installers, but to get mechanize we have to go to the command prompt. To do that, open the start menu, type cmd, and in the command prompt, enter easy_install mechanize. If typing easy_install doesn’t work, make sure to set your PATH (see answer here)

    And that’s it! For any future libraries, easy_install nameoflibraryhere will do the trick.

    So tldr version:

    Download and install Python 2.7.3: http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi

    Download and install setuptools: http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11.win32-py2.7.exe#md5=57e1e64f6b7c7f1d2eddfc9746bbaf20

    Download and install lxml for Python 2.7: http://pypi.python.org/packages/2.7/l/lxml/lxml-2.2.8.win32-py2.7.exe#md5=deb95d53dbd3734ecfb4f69850758427

    In command prompt, type easy_install mechanize

    I hope that helps you make the process of installing those on Windows smooth.

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

Sidebar

Related Questions

What's the easiest way to save the install log that is displayed in NSIS?
What is the easiest way to do the equivalent of rm -rf in Python?
What's the easiest way to do a case-insensitive string replacement in Python?
What is the best (and easiest) way to set these up on Windows 7?
.NET 4.0 I am looking for the easiest way to generate a Word document
I like that Rails 3 is so easy to install: gem install rails --pre
I decided that the easiest way to rename the directory is through the REN
What's the easiest way to install PDO on the default php installation of OS
What is the best/easiest way to install a namespace extension using wix? Especially how
Possible Duplicate: What's the easiest way to install a missing Perl module? I'm attempting

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.