首页 > 其他 > 详细

failed to install nb_conda and nbextensions

时间:2021-01-24 01:00:57      阅读:148      评论:0      收藏:0      [点我收藏+]

Command executed:

  conda install nb_conda

 

Issue

ERROR conda.core.link:_execute(698): An error occurred while installing package ‘https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main::nb_conda-2.2.1-py38_1‘.
Rolling back transaction: done

LinkError: post-link script failed for package https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main::nb_conda-2.2.1-py38_1
location of failed script: C:\Users\Lenovo\anaconda3\Scripts\.nb_conda-post-link.bat
==> script messages <==
Config option `kernel_spec_manager_class` not recognized by `EnableNBExtensionApp`.
Enabling notebook extension nb_conda/main...
- Validating: ok
Enabling tree extension nb_conda/tree...
- Validating: ok
Config option `kernel_spec_manager_class` not recognized by `EnableServerExtensionApp`.
Enabling: nb_conda
- Writing config: C:\Users\Lenovo\anaconda3\etc\jupyter
- Validating...
nb_conda 2.2.1 ok

==> script output <==
stdout:
stderr: ‘chcp‘ ????????????????????????е????
?????????????
‘chcp‘ ????????????????????????е????
?????????????
‘chcp‘ ????????????????????????е????
?????????????

return code: 1

 

Solution

in file nb_conda-post-link.bat, under the @echo off (using np++)
set PATH=%PATH%;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

https://github.com/ContinuumIO/anaconda-issues/issues/10949

failed to install nb_conda and nbextensions

原文:https://www.cnblogs.com/cheese320/p/14319456.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!