You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
venv environments are not detected until folder is opened #21659
You need a workspace folder to be opened for workspace specific environments to be discovered. There is no way for us to know which project to look for environments in otherwise.
You need a workspace folder to be opened for workspace specific environments to be discovered. There is no way for us to know which project to look for environments in otherwise.
So is it intended that environments that are present in such folders do not show up?
Activity
DonJayamanne commentedon Jul 19, 2023
Than you for filling this issues, however the steps area not sufficient to replicate this issue
Please could you provide steps to repro issue
aayushkatariaa commentedon Jul 19, 2023
karrtikr commentedon Jul 19, 2023
Please provide the debug logs which can help diagnose the issue:
Run
Developer: Set log levelcommandSelect
Python-> SelectTraceRun
Developer: Reload WindowcommandProvide the output:
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)aayushkatariaa commentedon Jul 20, 2023
note that the company name has been changed due to privacy reasons along with some other minor edits
log.txt
karrtikr commentedon Jul 21, 2023
Does venv environments show up when using
Python: Select Interpretercommand?3 remaining items
aayushkatariaa commentedon Jul 21, 2023
Also this issue may also be related to #21633 although I'm not a 100% sure on that
karrtikr commentedon Jul 21, 2023
It seems to be that no workspace folder is opened, is that the case?
aayushkatariaa commentedon Jul 21, 2023
Yeah
karrtikr commentedon Jul 21, 2023
You need a workspace folder to be opened for workspace specific environments to be discovered. There is no way for us to know which project to look for environments in otherwise.
karrtikr commentedon Jul 21, 2023
Try 'File-> Open folder...' option
karrtikr commentedon Jul 21, 2023
Closing as this seems to be the intended behavior.
aayushkatariaa commentedon Jul 31, 2023
So is it intended that environments that are present in such folders do not show up?
aayushkatariaa commentedon Jul 31, 2023
Since it kind of limits functionality so i thought it'd at least look in the same folder as the opened file