Python notes: Installing Python lxml under Windows

Source: Internet
Author: User

Original: http://blog.csdn.net/zhaokuo719/article/details/8209496

Installing lxml python in a Windows environment

1, first of all to ensure that your Python environment installation perfect

2. Download the http://peak.telecommunity.com/dist/ez_setup.py file to the computer

3. Open run cmd execution: Python ez_setup.py

4, the installation is complete, the PATH environment variable inside add paths: such as: E:\python27\Scripts (E:\python27 is the Python installation path)

5. Cmd execution:easy_install virtualenv

6. Download lxml file: http://pypi.python.org/pypi/lxml/2.3/

7, cmd execution easy_install (file path) \lxml-2.3.py2.7.win32.egg

8. using Pydev as the IDE tool, if the module is installed after the import of new modules error prompt error, in fact, the operation is normal, but you can not use the module's prompt function, as long as the python can be reloaded once.
Window--Preferences--PyDev-Interperter-python
Take the original remove and then new one.

Python notes: Installing Python lxml under Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.