python traceback most recent_pyspider启动错误: Traceback (most recent call last):
安裝了基于pyhton的爬蟲pyspider.?用命令sudo?pyspider?all啟動pyspider的時候報錯:
Traceback?(most?recent?call?last):
File?"/usr/local/bin/pyspider",?line?5,?in?
from?pkg_resources?import?load_entry_point
File?"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",?line?3142,?in?
@_call_aside
File?"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",?line?3126,?in?_call_aside
f(*args,?**kwargs)
File?"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",?line?3155,?in?_initialize_master_working_set
working_set?=?WorkingSet._build_master()
File?"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",?line?666,?in?_build_master
return?cls._build_from_requirements(__requires__)
File?"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",?line?679,?in?_build_from_requirements
dists?=?ws.resolve(reqs,?Environment())
File?"/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py",?line?872,?in?resolve
raise?VersionConflict(dist,?req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict:?(chardet?2.3.0?(/usr/lib/python2.7/dist-packages),?Requirement.parse('chardet<3.1.0,>=3.0.2'),?set(['requests']))
我是python新手.請問怎么解決??謝謝啦
新人創作打卡挑戰賽發博客就能抽獎!定制產品紅包拿不停!總結
以上是生活随笔為你收集整理的python traceback most recent_pyspider启动错误: Traceback (most recent call last):的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 我懵了,那个听起来很厉害的微内核架构是个
- 下一篇: 操作无法完成因为已经在mysqld.ex