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

Excluding directories? #80

Open vroomanj opened 6 years ago

vroomanj commented 6 years ago

Is it possible to exclude directories?

I would like to exclude the main /opt/conda directory so the main Python 3 doesn't get relabeled in the New notebook drop down and also I have a Python 2 environment I don't want to be handled in the Conda environments tab.

I also seem to be getting some weird message for an environment that doesn't exist the first time I visit the Conda tab:

An error occurred while retrieving installed packages. EnvironmentLocationNotFound: Not a conda environment: /opt/conda/envs/conda

Mostly, is there any way we can exclude some directories? Example: exclude top level /opt/conda and then exclude /opt/conda/envs/python2? Then just allow them to create environments in the Conda tab?