找回密码
 立即注册
搜索
查看: 1697|回复: 5

[屁股] jupyterlab 依赖包怎么装

[复制链接]
     
发表于 2021-8-29 14:38 | 显示全部楼层 |阅读模式
安装 <code>jupyterlab-execute-time</code> 时发生错误。
错误信息:
The extension "jupyterlab-execute-time" does not yet support the current version of JupyterLab.Conflicting Dependencies:JupyterLab                  Extension      Package>=3.1.6 <3.2.0              >=2.0.2 <3.0.0 @jupyterlab/application>=3.1.6 <3.2.0              >=2.0.2 <3.0.0 @jupyterlab/notebook>=3.1.6 <3.2.0              >=2.0.1 <3.0.0 @jupyterlab/settingregistry
JupyterLab当前版本3.1.7,但是后面扩展包不知道怎么装
回复

使用道具 举报

     
发表于 2021-8-29 14:51 | 显示全部楼层
参见 https://stackoverflow.com/questi ... cute-time-extension 用pip/conda而不是jupyter自带的包管理来装 pip3 install jupyterlab_execute_time
回复

使用道具 举报

     
 楼主| 发表于 2021-8-29 15:33 | 显示全部楼层
ryanz 发表于 2021-8-29 14:51
参见 https://stackoverflow.com/questions/67390716/unable-to-install-jupyterlab-execute-time-extensio ...

Downloading jupyterlab_execute_time-2.0.5-py3-none-any.whl (134 kB)
     |████████████████████████████████| 134 kB 87 kB/s
Collecting jupyter-server<2,>=1.6
  Downloading jupyter_server-1.10.2-py3-none-any.whl (392 kB)
     |█████                           | 61 kB 45 kB/s eta 0:00:08ERROR: Exception:
Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\pip\_vendor\resolvelib\resolvers.py", line 171, in _merge_into_criterion
    crit = self.state.criteria[name]
KeyError: 'jupyter-server

我早试过了
回复

使用道具 举报

     
发表于 2021-8-29 15:48 | 显示全部楼层
nexus1 发表于 2021-8-29 15:33
Downloading jupyterlab_execute_time-2.0.5-py3-none-any.whl (134 kB)
     |████████████ ...

换个国内源试试
回复

使用道具 举报

     
发表于 2021-8-29 16:35 | 显示全部楼层
nexus1 发表于 2021-8-29 15:33
Downloading jupyterlab_execute_time-2.0.5-py3-none-any.whl (134 kB)
     |████████████ ...

看你用 anaconda 可以尝试下这句 conda install -c conda-forge jupyterlab_execute_time
另外,这个key error貌似是pip那边超时了,也可以 pip3 install jupyterlab_execute_time -i https://pypi.tuna.tsinghua.edu.cn/simple
还错误我就也不知道了
回复

使用道具 举报

     
 楼主| 发表于 2021-9-5 22:28 | 显示全部楼层
用了anaconda navigator感觉错误比之前pycharm多太多了,泥潭有没有码农群可以解惑的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|上海互联网违法和不良信息举报中心|网上有害信息举报专区|962110 反电信诈骗|举报电话 021-62035905|Stage1st ( 沪ICP备13020230号-1|沪公网安备 31010702007642号 )

GMT+8, 2024-9-23 21:23 , Processed in 0.039596 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表