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

Suggestion: option to select interpreter when opening new console #22020

Open
2 tasks done
Miguel-LlamasLanza opened this issue Apr 24, 2024 · 1 comment
Open
2 tasks done

Comments

@Miguel-LlamasLanza
Copy link

Miguel-LlamasLanza commented Apr 24, 2024

Issue Report Checklist

Problem Description (Suggestion)

In order to open a kernel that uses a different python interpreter (e.g. a different conda environment), we need to go to preferences, change the python interpreter from the default one to another one. Then we can open a new python console with this interpreter for the kernel. We then need to switch back to the default interpreter in the preferences, so that new consoles will be opened with the default interpreter.

I suggest to have an option (in the menu that appears by clicking on the three lines of the top right of the console) to open a new console with a specific interpreter instead of the default, to avoid doing all that was mentioned before.

Ideally, it would be nice to have an option to choose between available conda environments, but I understand this might be quite difficult to ensure for each type of installation. Also ideally, the name of the console could tell to which environment it corresponds.

@pyZerrenner
Copy link

There seems to be a PR #20421 that implements a menu to start a console with a specific interpreter, but apparently it did not make its way to the main release yet.

(Also I just made my own similar suggestion #22022, not realising that this new issue was posted.)

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

2 participants