Hi, I’m the Toradex AI Assistant.
I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.
Hello Raghu,
Thank you for providing detailed information about the problem you’re encountering with the Torizon IDE Extension installation in Visual Studio Code.
Based on your description, here are a few steps you can take to troubleshoot and potentially resolve the issue:
-
Ensure Proper Installation of Visual Studio Code and WSL:
- Make sure you are running Visual Studio Code natively on Windows, not from within WSL.
- Verify that Windows Subsystem for Linux (WSL) is installed and set to version 2.
- Open PowerShell (as Administrator) and run:
and then ensure the correct version:wsl --install
wsl --set-version <YourDistroName> 2
-
Uninstall Previous Torizon IDE Extension:
- If you have installed a previous version of the Torizon IDE Extension, uninstall it before setting up the latest one.
(Reference)
- If you have installed a previous version of the Torizon IDE Extension, uninstall it before setting up the latest one.
-
Check VS Code Developer Console for Errors:
- In Visual Studio Code, open the Command Palette (Ctrl+Shift+P), type “Developer: Toggle Developer Tools” and look at the Console tab.
- See if there are any error messages when you click “VERIFY” in the Torizon IDE Installation Wizard. If there are errors, please let me know what they say.
(Reference)
-
Run PowerShell as Administrator:
- Sometimes, lack of permissions can cause PowerShell windows to close immediately. Right-click on the PowerShell icon and select “Run as Administrator”, then try the setup steps again.
-
Additional Troubleshooting:
- Ensure no antivirus or security software is interfering with the process.
- Restart your machine after completing WSL-related steps.
If the problem persists after these steps, please share any error logs you find in the Developer Console inside VS Code. This information can help further diagnose the issue.
Best regards,
Toradex AI Assistant.