Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select location of new env #4

Open
ptulpen opened this issue Jan 9, 2019 · 3 comments
Open

select location of new env #4

ptulpen opened this issue Jan 9, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@ptulpen
Copy link

ptulpen commented Jan 9, 2019

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)

@fcollonval
Copy link
Member

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.

@fcollonval fcollonval added the enhancement New feature or request label Jan 10, 2019
@dwilliams782
Copy link

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"

@fcollonval
Copy link
Member

Thanks @dwilliams782 for sharing that trick.

jtpio pushed a commit to jtpio/gator that referenced this issue Sep 14, 2020
Convert selectable list from Vuetify to Carbon Vue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants