当我打电话时
conda update spyder
然后打开spyder,我收到了以下错误。
conda update
是否应该为正在更新的软件包安装依赖项?
解决问题的最佳方法是什么?
我应该拨打conda install jedi
吗?
答案 0 :(得分:3)
这是因为Conda的默认频道(win-64)的repodata.json指定jedi>=0.8
:
"spyder-3.0.0-py34_0.tar.bz2": {
"app_entry": "spyder",
"app_type": "desk",
"build": "py34_0",
"build_number": 0,
"date": "2016-09-26",
"depends": [
"jedi >=0.8",
"nbconvert",
"pep8",
"pickleshare",
"psutil",
"pyflakes",
"pygments >=2.0",
"pylint",
"pyqt 5.*",
"python 3.4*",
"pyzmq",
"qtawesome",
"qtconsole >=4.2",
"qtpy >=1.1",
"rope",
"sphinx"
],
"icon": "9779607c273dc0786bd972b4cb308b58.png",
"license": "MIT",
"md5": "1e22cec14b87602a6338a3c46b7991ed",
"name": "spyder",
"size": 3050583,
"summary": "Scientific Python Development Environment",
"type": "app",
"version": "3.0.0"
},
现在,在蜘蛛回购中,在标记v3.0.0,
指定的jedi没有最低版本install_requires = [
'rope_py3k' if PY3 else 'rope>=0.9.4',
'jedi',
'pyflakes',
'pygments>=2.0',
'qtconsole>=4.2.0',
'nbconvert',
'sphinx',
'pep8',
'pylint',
'psutil',
'qtawesome',
'qtpy>=1.1.0',
'pickleshare',
'pyzmq'
]
2017年2月5日星期日,commit解决了这个问题,并于v3.1.3发布,截至2017年3月10日星期五尚未添加到Conda的默认频道。
由于上述原因,升级没有更新对jedi的依赖。
由于jedi=0.9.0
在默认的Conda频道中可用,您应该可以通过执行以下操作来解决此问题:
conda update jedi