转载自2018-10-02 Jupyter Notebook environment anaconda3 error
修改这个文件:
~\Anaconda\pkgs\nb_conda-2.2.1-py38_1\Lib\site-packages\nb_conda,
查找这一句:
return { "environments": [root_env] + [get_info(env) for env in info['envs']] }
改为
return { "environments": [root_env] + [get_info(env) for env in info['envs'] if env != root_env['dir']] }