Skip to content

Unable to Find Pipenv Virtual Environment in VSCode Jupyter Notebook #23260

@DonJayamanne

Description

@DonJayamanne

Discussed in microsoft/vscode-jupyter#15564

Originally posted by LiPingYen April 18, 2024
I'm encountering an issue while using Jupyter Notebook within VSCode where I can't locate the Python virtual environment created by pipenv.

When I run a Python script, the pipenv virtual environment is found without any problem. Currently, it seems that when selecting the Jupyter kernel, VSCode can successfully locate the base and conda-related virtual environments, but it fails to find the one created by pipenv.

I've searched for relevant articles but haven't found a suitable solution. Has anyone experienced a similar situation and found a resolution? Any insights or solutions would be greatly appreciated.

Metadata

Metadata

Labels

area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionalityinfo-neededIssue requires more information from posterneeds PRReady to be worked on

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions