pkg_resources.DistributionNotFound 安装 scrapy错误

来源:互联网 发布:中外运空运知乎 编辑:程序博客网 时间:2024/06/02 16:08

1 运行 scrapy出错  报 pkg_resources.DistributionNotFound 错误,表示缺少相应的软件。


     例如 pkg_resources.DistributionNotFound: w3lib>=1.2


安装即可  easy_install w3lib


2 但是 安装  lxml 是会报编译错误,需要首先安装 libxslt-devel 

执行  yum install libxslt-devel

0 0