Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install LXML Python 3.3 Windows 8 64 Bit

I think I'm too stupid for installing LXML Lib on my System. Please can anyone help me with instructions for stupid people? I found a lot of instruction, but they did not help me much.

I looked at LXML-Homepage For installation I need pip 1.4.1? I downloaded it... But, how can I install it?

Unzip pip-1.4.1.tar.gz

Then I opened the setup.py with my Python Shell. Run the modul:

Traceback (most recent call last):
  File "C:\................\dist\pip-1.4.1\setup.py", line 5, in <module>
    from setuptools import setup, find_packages
ImportError: No module named 'setuptools'

Ok.. now I thought I need setuptools... Downloaded setuptools-1.4.1-py2.py3-none-any.whl Unziped it.. run the easy_install.py with my python shell

SystemExit: error: No urls, filenames, or requirements specified

Same error if started in windows command console. What should I do?

like image 975
user3016676 Avatar asked Nov 27 '13 14:11

user3016676


People also ask

How do I add lxml to Python?

Type “ pip install lxml ” (without quotes) in the command line and hit Enter again. This installs lxml for your default Python installation. The previous command may not work if you have both Python versions 2 and 3 on your computer. In this case, try "pip3 install lxml" or “ python -m pip install lxml “.

Does lxml come with Python?

lxml has been downloaded from the Python Package Index millions of times and is also available directly in many package distributions, e.g. for Linux or macOS. Most people who use lxml do so because they like using it.


1 Answers

If you on Windows, why not to use binary packages with normal installers? You can find them on this page: http://www.lfd.uci.edu/~gohlke/pythonlibs/

like image 107
Aleksei Avatar answered Sep 29 '22 03:09

Aleksei