nexus1 发表于 2021-8-29 14:38

jupyterlab 依赖包怎么装

安装 <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,但是后面扩展包不知道怎么装

ryanz 发表于 2021-8-29 14:51

参见 https://stackoverflow.com/questions/67390716/unable-to-install-jupyterlab-execute-time-extension 用pip/conda而不是jupyter自带的包管理来装 pip3 install jupyterlab_execute_time

nexus1 发表于 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
KeyError: 'jupyter-server

我早试过了

bubuyu 发表于 2021-8-29 15:48

nexus1 发表于 2021-8-29 15:33
Downloading jupyterlab_execute_time-2.0.5-py3-none-any.whl (134 kB)
   |████████████ ...

换个国内源试试

ryanz 发表于 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
还错误我就也不知道了

nexus1 发表于 2021-9-5 22:28

用了anaconda navigator感觉错误比之前pycharm多太多了,泥潭有没有码农群可以解惑的
页: [1]
查看完整版本: jupyterlab 依赖包怎么装