【问题】
安装scrapy过程中,出现xml方面的错误:
Downloading/unpacking lxml (from Scrapy) Downloading lxml-3.0.1.tar.gz (3.2MB): 3.2MB downloaded Running setup.py egg_info for package lxml Building lxml version 3.0.1. Building without Cython. ERROR: 'xslt-config' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 ** make sure the development packages of libxml2 and libxslt are installed ** Using build configuration of libxslt warning: no files found matching 'lxml.etree.c' under directory 'src\lxml' warning: no files found matching 'lxml.objectify.c' under directory 'src\lxml' warning: no files found matching 'lxml.etree.h' under directory 'src\lxml' warning: no files found matching 'lxml.etree_api.h' under directory 'src\lxml' warning: no files found matching 'etree_defs.h' under directory 'src\lxml' warning: no files found matching '*.txt' under directory 'src\lxml\tests' warning: no files found matching 'pubkey.asc' under directory 'doc' warning: no files found matching 'tagpython*.png' under directory 'doc' warning: no files found matching 'Makefile' under directory 'doc'
【解决过程】
1。 参考:
去http://pypi.python.org/simple/lxml/,下载win7 x64的:
lxml-2.2.8.win-amd64-py2.7.exe
然后重新打开cmd去pip install Scrapy,解决了此xml的问题了。
转载请注明:在路上 » 【已解决】安装Scrapy过程中出错:ERROR: ‘xslt-config’ 不是内部或外部命令,也不是可运行的程序 或批处理文件。