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

Allow users to specify installation location when creating a new Python environment for Jupyter #24907

Open
CinrayZ opened this issue Mar 15, 2025 · 2 comments
Labels
feature-request Request for new features or functionality needs community feedback Awaiting community feedback

Comments

@CinrayZ
Copy link

CinrayZ commented Mar 15, 2025

🚀 Feature Request

Currently, when a user selects "Create Python Environment" inside the Jupyter kernel selection UI, they can only create the environment in the workspace root directory. However, sometimes users want to create the environment in a custom directory.

💡 Proposed Solution

  • After selecting "Create Python Environment", allow users to specify a directory before proceeding with venv or conda.
  • The default can still be the workspace root, but users should have the flexibility to change it.

🤔 Why is this needed?

  • Some projects require virtual environments in custom locations.
  • Prevent workspace clutter.
  • Aligns with flexibility offered in the VS Code Python extension.

📌 Steps to Reproduce

  1. Open a Jupyter notebook in VS Code.
  2. Click "Select Kernel" > "Select Another Kernel".

Image

  1. Choose "Python Environment" > "Create Python Environment".

Image

Image

  1. Currently, VS Code forces the environment to be created in the workspace root.

Image

🔄

  • Manually creating a venv/conda environment and selecting it later (not user-friendly and currently it can not be automatically detected).
@CinrayZ CinrayZ added the feature-request Request for new features or functionality label Mar 15, 2025
@DonJayamanne DonJayamanne removed their assignment Mar 15, 2025
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-jupyter Mar 15, 2025
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Mar 15, 2025
@DonJayamanne
Copy link

Create env feature is exposed via Python extension, hence transferring this

@anthonykim1 anthonykim1 added the needs community feedback Awaiting community feedback label Mar 17, 2025
Copy link

Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

@anthonykim1 anthonykim1 removed the triage-needed Needs assignment to the proper sub-team label Mar 17, 2025
@karthiknadig karthiknadig removed their assignment Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality needs community feedback Awaiting community feedback
Projects
None yet
Development

No branches or pull requests

4 participants