Windows XP,Anaconda。执行“scrapy startproject tutorial”命令后,我收到以下错误和追溯历史记录。作为参考,我主要遵循本文档的说明:https://doc.scrapy.org/en/latest/intro/tutorial.html
命令提示历史记录:
C:\Documents and Settings\HP_Owner\Desktop\Anaconda>scrapy startproject tutorial
Traceback (most recent call last):
File "C:\Documents and Settings\HP_Owner\Desktop\Anaconda\Scripts\scrapy-scrip
t.py", line 3, in <module>
import scrapy.cmdline
File "C:\Documents and Settings\HP_Owner\Desktop\Anaconda\lib\site-packages\sc
rapy\__init__.py", line 34, in <module>
from scrapy.spiders import Spider
File "C:\Documents and Settings\HP_Owner\Desktop\Anaconda\lib\site-packages\sc
rapy\spiders\__init__.py", line 10, in <module>
from scrapy.http import Request
File "C:\Documents and Settings\HP_Owner\Desktop\Anaconda\lib\site-packages\sc
rapy\http\__init__.py", line 11, in <module>
from scrapy.http.request.form import FormRequest
File "C:\Documents and Settings\HP_Owner\Desktop\Anaconda\lib\site-packages\sc
rapy\http\request\form.py", line 9, in <module>
import lxml.html
File "C:\Documents and Settings\HP_Owner\Desktop\Anaconda\lib\site-packages\lx
ml\html\__init__.py", line 54, in <module>
from .. import etree
ImportError: DLL load failed: The specified module could not be found.