anaconda / nb_conda

Conda environment and package access extension from within Jupyter
BSD 3-Clause "New" or "Revised" License
140 stars 32 forks source link

"root" environment showing twice with an error #82

Open Yuyan-Li opened 6 years ago

Yuyan-Li commented 6 years ago

The root environment shows up twice once named "root" and once named "miniconda3".

It also shows an error because it tries to find "miniconda3" in the env directory.

nb_conda_kernel_1 nb_conda_kernel_2

I'm nb_conda_kernel version 2.1.0

$ conda info
     active environment : None
       user config file : /home/.../.condarc
 populated config files : 
          conda version : 4.5.11
    conda-build version : not installed
         python version : 3.7.0.final.0
       base environment : /home/.../.local/opt/miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /home/.../.local/opt/miniconda3/pkgs
                          /home/.../.conda/pkgs
       envs directories : /home/.../.local/opt/miniconda3/envs
                          /home/.../.conda/envs
               platform : linux-64
             user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.0 Linux/4.15.0-36-generic ubuntu/18.04 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False
mcg1969 commented 6 years ago

Would you try using version 2.2.0 and see if that helps? It's available in both the jupycon and conda-forge channels.

Yuyan-Li commented 6 years ago

I installed 2.2.0 from conda-forge and the problem is still there.

mcg1969 commented 6 years ago

Oh! You know what, this is actually an issue with nb_conda, not nb_conda_kernels. I apologize for not realizing this before. I'll transfer this issue over.

Yuyan-Li commented 6 years ago

ok, thanks. If there is any more information I could provide, I would be glad to help.