无法安装LXML

问题描述:

我试图安装LXML但得到下面的错误,我使用的是Windows中:无法安装LXML

命令: PIP安装LXML

错误:

You are using pip version 7.1.0, however version 8.1.0 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' comm and. Collecting lxml Using cached lxml-3.5.0.tar.gz Building wheels for collected packages: lxml Running setup.py bdist_wheel for lxml Complete output from command C:\Python27\python.exe -c "import setuptools;fi le='c:\users\monang~1.kum\appdata\local\temp\pip-build-fpxxjd\lxml\set up.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec '))" bdist_wheel -d c:\users\monang~1.kum\appdata\local\temp\tmp6l4_jopip-wheel- :

+0

只是在谷歌搜索lxml窗口二进制文件? – YOU

+0

@ivan_pozdeev感谢您的链接,问题解决:) – siddhu619

正如ivan_pozdeev建议,这可以通过安装解决预编译LXML插件Precompiled lxml 3.5

OR: 用命令在命令行安装的easy_install LXML-3.2.1.win32-py3.3 .exe

链接 - > 1。 Installing lxml for Python 3.4 on Windows x 86 (32 bit) with Visual Studio C++ 2010 Express 2. https://pytools.codeplex.com/workitem/1520

安装libxml并重试。