TorizonIDE VSCode Extension Fails

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


Torizon IDE Extension Linux Setup Issue

The error you’re encountering is related to the Torizon IDE Extension’s transition from PowerShell to Python/Xonsh scripts (1). The extension is not mistaking your Linux system for Windows - it’s showing compatibility warnings for different template versions.

Understanding the Error Messages

The key errors in your log are:

  • WARNING :: PowerShell Core is not installed - This warning appears because some older Torizon v6.x.x templates still require PowerShell (1)
  • ERROR :: Xonsh is not installed, Xonsh is required - This is the actual blocker for Torizon OS 7 support

Solution: Install Xonsh

The extension is migrating from PowerShell template scripts to Python/Xonsh (1). To resolve this issue, you need to install Xonsh on your Linux system:

pip install xonsh

Or using your distribution’s package manager (if available):

# For Ubuntu/Debian
sudo apt install xonsh

# For Fedora
sudo dnf install python3-xonsh

Alternative: Use Pre-Release Version for Torizon OS 7

If you’re working with Torizon OS 7, you can try the pre-release version of the extension which has better support for the new Python/Xonsh-based templates (1):

  1. Install the pre-release version of the Torizon IDE Extension in VS Code
  2. Configure your global VS Code settings to use the development templates:
{
    "torizon.templatesRepo": "https://github.com/torizon/vscode-torizon-templates",
    "torizon.templatesBranch": "dev",
    "torizon.templatesTag": "dev"
}

Why PowerShell is Mentioned

The PowerShell warning appears because the extension maintains backward compatibility with Torizon v6.x.x templates, which were built using PowerShell scripts (1). The migration to Python/Xonsh represents a significant change from the original 2022 implementation (1).

After installing Xonsh, restart VS Code and try loading the extension again. The error should be resolved and you should be able to use the Torizon IDE Extension on your Linux host machine.

Best regards, Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.