ValueError:python scrapy中的错误编组数据

时间:2017-05-15 07:45:23

标签: python scrapy

我已经在我的电脑上成功安装了scrapy(win7,32bit)。当我运行我的代码时,我的程序因错误而崩溃:

    Traceback (most recent call last):
    File "E:/python/wheather/whethercode.py", line 1, in <module>
    import scrapy
    File "F:\Program Files\python\lib\site-packages\scrapy-1.3.3-py2.7.egg\scrapy\__init__.py", line 34, in <module>
    from scrapy.spiders import Spider
    File "F:\Program Files\python\lib\site-packages\scrapy-1.3.3-py2.7.egg\scrapy\spiders\__init__.py", line 10, in <module>
    from scrapy.http import Request
    File "F:\Program Files\python\lib\site-packages\scrapy-1.3.3-py2.7.egg\scrapy\http\__init__.py", line 11, in <module>
    from scrapy.http.request.form import FormRequest
    File "F:\Program Files\python\lib\site-packages\scrapy-1.3.3-py2.7.egg\scrapy\http\request\form.py", line 9, in <module>
    import lxml.html
    ValueError: bad marshal data (unknown type code)
希望你能帮助我。

0 个答案:

没有答案