-
Notifications
You must be signed in to change notification settings - Fork 105
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
run-detectors: unable to find an interpreter for /mnt/c/Program Files/Microsoft VS Code/Code.exe #635
Comments
Try running wsl --shutdown on powershell then starting WSL2 again. I did this and I think it's what fixed it for me. Try just this first, but my exact steps were deleting my .vscode-server folder, running wsl --shutdown in powershell, doing a sudo apt-get update && sudo apt-get upgrade, then running code . inside a WSL2 project folder again. After this it re-installed/set up my vscode-server; I of course then had to reinstall all my extension on WSL side. Hope this helps, |
it is so useful, thank you |
It should be caused by the conflict with systemd.Please check the file For more info, please refer to https://learn.microsoft.com/en-us/windows/wsl/wsl-config#per-distribution-configuration-options-with-wslconf |
Disabling systemd boot worked for me. |
Before disabling SystemD give it a try to |
me too, the problem was with |
Hello, I have been doing exhaustive testing and I can corroborate the behavior. The good thing is that is happening with every distro so, Microsoft will fix it soon. Meanwhile, I'll find a workaround |
We made a change in pengwin-base to minimize this impact can you make a test?
Then activate SystemD and terminate Pengwin. See if now exes can be executed Regards |
Describe the bug
During using Pengwin Linux a while (few months). I can't open Windows app from Pengwin Linux in WSL now.
To Reproduce
Steps to reproduce the behavior:
Open WSL 2 (Pengwin Linux)
cd ~
code .
See error
Expected behavior
Download VSCode server and open VSCode with Remote - WSL2 extension in Windows.
Screenshots
Additional context
I can fix this problem by using the following update-binfmts command that I found here.
It takes me a while to find this workaround. I don't know why this problem happening. Is it avoidable?
Basic Troubleshooting Checklist
[x] I have searched Google for the error message.
[x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled.
[x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues.
[x] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues.
[x] I have reset Pengwin: Settings->Apps->Apps & features->Pengwin->Advanced Options->Reset.
[x] I have disabled and re-enabled WSL in Windows Features.
[x] I have run Windows 10 updates and restarted.
What other troubleshooting have you attempted?
Insert here:
Pengwin Version
Find: Settings->Apps->Apps & features->Pengwin->Advanced Options->Version.
Insert here:
20.8.3.0
Windows Build
Run 'systeminfo | findstr /C:"OS"' in Command Prompt and insert here:
For help on retrieving: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#check-your-build-number
The text was updated successfully, but these errors were encountered: