-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conda Environment identification and renaming #24247
Conda Environment identification and renaming #24247
Comments
@Breeze-Hu Can you enable trace logging ( |
@DonJayamanne I think this is coming from |
@karthiknadig Hi, I'm not quite sure if this is the part of the message you're referring to.
|
@Breeze-Hu That is correct output. Can you do one more thing? Run that executable in the Output from a terminal and share the output:
|
@karthiknadig Hope this helps in solving the problem, the last result returned by the command you mentioned is as follows:
|
We are still trying to diagnose the issue. The log you provided will help with that. @DonJayamanne this looks like |
Hope it goes well for you all. Thank you very much! |
@Breeze-Hu Please can you list the files and directories inside this folder It seems to have a |
Okay! The directory contains these files. There are indeed files under |
Thanks, it looks like somehow you have configured the I'll update the discovery tool to exclude such folders, |
Thank you developers for your contributions! Expect this issue to be resolved in a subsequent update! |
Yes, here's the PR microsoft/python-environment-tools#164 |
Cherry picking fixes into release branch. Fixes microsoft/vscode-python#24247 Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
@Breeze-Hu can you try to verify the fix on the latest pre-release version of the python extension |
Please can you share the same output, as you did here #24247 (comment) |
Absolutely! I feel very close to solving the problem, although I do not understand it very well.
|
@karthiknadig looks like PET is returning the right information, The |
@Breeze-Hu Can you try these two things?
After it reloads see if you get the same results. |
When I set the |
A brief test shows that it should be a problem with |
@Breeze-Hu If it is working with |
I think this issue has been well addressed and it is good time to close the issue. |
Does this issue occur when all extensions are disabled?: Yes/No
Yes.
VS Code Version:
版本: 1.94.0 (user setup)
提交: d78a74bcdfad14d5d3b1b782f87255d802b57511
日期: 2024-10-02T13:08:12.626Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631
OS Version:
Windows 11 23H2
Something unexpected seems to be happening when vscode recognizes conda virtual environments (
WSL: Ubuntu-22.04
). Rename the virtual environment with the name ’learn‘ to ’base‘. The previous 'base' environment, now named 'miniconda3'. While subsequent programs run fine, opening it for the first time caused some disturbances.It's possible that the most recent update caused the problem, which shouldn't have happened before...
The text was updated successfully, but these errors were encountered: