gator
                                
                                 gator copied to clipboard
                                
                                    gator copied to clipboard
                            
                            
                            
                        select location of new env
Hello, I use jupyter_conda in an environment where jupyter itself is installed to /opt/conda... as system installation is it still possible to have the oppotunity to select the location of a new environment ? (e.g. the users home)
Hey @ptulpen,
I'll look in the documentation of conda. Unfortunately there is no other way than defining the full prefix for the environment when calling conda create.
So this requires some changes in the ux and in the server extension as well. Feel free to submit a PR if you need this feature.
A note: conda restraints the folder list, it looks at for environments. So the user should not be allowed to create environment outside those place. Otherwise the new environment won't be visible by this jupyter extension.
We have just ran into the same issue, using JupyterLab as part of Z2JH in Kubernetes.
We set an environment variable to install new conda environments to a persistent disk and it appears to work well:
extraEnv:
  CONDA_ENVS_PATH: "/home/jovyan/.conda/envs"
Thanks @dwilliams782 for sharing that trick.