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

Environment is not preserved per "project" (=directory), cannot override it from command line #476

Closed
krassowski opened this issue Aug 6, 2022 · 1 comment

Comments

@krassowski
Copy link
Member

krassowski commented Aug 6, 2022

Description

I work on multiple projects using JupyterLab. Each time I re-open a project by using jlab path/to/project the environment gets reset to the last selected environment in any instance. Simply put the environment selector choice is global and there is nothing user can do to smoothly work on multiple projects.

Expected behavior

  1. I would like to have an option to make the environment selection:
  • a) global (as it currently is)
  • b) directory-specific: this could be saved in a hidden file (which is a common practice, e.g. .vscode, .idea)

AND

  1. I would like to have a command line option to manually specify the path to the environment.

As for the details of directory-specific hidden file, we should coordinate this with other parts of JupyterLab and possibly standardise support for the environment awareness too. I will open a separate issue and link this one.

Ultimately we would strive to get something like this: https://twitter.com/GaborCsardi/status/1532042947084095489

@krassowski
Copy link
Member Author

This was implemented in #546 - this configuration is stored in .jupyter/desktop-settings.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant