zoukankan      html  css  js  c++  java
  • failed to install nb_conda

    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:UsersLenovoanaconda3Scripts.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:UsersLenovoanaconda3etcjupyter
    - Validating...
    nb_conda 2.2.1 ok

    ==> script output <==
    stdout:
    stderr: 'chcp' �����ڲ����ⲿ���Ҳ���ǿ����еij���
    ���������ļ���
    'chcp' �����ڲ����ⲿ���Ҳ���ǿ����еij���
    ���������ļ���
    'chcp' �����ڲ����ⲿ���Ҳ���ǿ����еij���
    ���������ļ���

    return code: 1

    Solution

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

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

  • 相关阅读:
    什么是restful风格?
    android中设置控件获得焦点
    Android中Parcelable的原理和使用方法
    webstorm快捷键大全
    HTTP状态码
    三行代码写爬虫
    HTTrackPortable
    安装mac系统
    Vue常用的操作指令
    什么样的人不适合当程序员呢?
  • 原文地址:https://www.cnblogs.com/cheese320/p/14319456.html
Copyright © 2011-2022 走看看