在Windows 10上安装Scrapy和libxml2时遇到麻烦

时间:2016-07-28 10:30:20

标签: python scrapy

需要安装Scrapy,但有这样的错误:

无法在库xmlCheckVersion中找到功能libxml2。是否安装了libxml2

error: command 'C:\\Users\\Artur\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

命令:

c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\artur\\appdata\\local\\temp\\pip-build-apae9o\\lxml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\artur\appdata\local\temp\pip-knhut_-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\artur\appdata\local\temp\pip-build-apae9o\lxml\

尝试安装libxml2,但遗憾的是还有其他错误。尝试不同的方法,但没有成功。有同样的错误:

C:\WINDOWS\system32>pip install libxml2
Collecting libxml2
  Could not find a version that satisfies the requirement libxml2 (from versions: )
No matching distribution found for libxml2

我有python 2.7.11windows 10 64x

0 个答案:

没有答案