关于linux:Scrapy:没有名为’parsel’的模块

Scrapy: No module named 'parsel'

我搜索了很多,但还没有找到解决这个问题的方法。安装Scrapy后,当我尝试运行它时,会收到以下错误消息:

Traceback (most recent call last):
File"/usr/local/bin/scrapy", line 7, in
from scrapy.cmdline import execute
File"/usr/local/lib/python3.4/dist-packages/scrapy/init.py", line >34, in
from scrapy.spiders import Spider
File"/usr/local/lib/python3.4/dist-> from scrapy.http import >Request
File"/usr/local/lib/python3.4/dist-packages/scrapy/http/init.py", >line 11, in
from scrapy.http.request.form import FormRequest
File"/usr/local/lib/python3.4/dist->packages/scrapy/http/request/form.py", line 12, in
from parsel.selector import create_root_node
ImportError: No module named 'parsel'

我找不到任何名为parsel的模块,有人能给我一个线索,我应该去哪里看看吗?

我在运行Qubes OS 3.2。你需要更多的信息吗?


试着安装

1
pip install parsel

从文献来看,这是一个需要的包装。