I am in the process of starting development using Verdin development with AM62 SOM.
I am finding difficulty in installing Torizon WSL2 using Visual Studio Code.
The error log is given below.
Please support.
[12-02 15:13:45.465] Activating Torizon IDE …
[12-02 15:14:00.093] PWHS Scripting enabled
[12-02 15:14:00.344] WSL installed
[12-02 15:14:00.981] Stdout: Windows Subsystem for Linux has no installed distributions.
Use ‘wsl.exe --list --online’ to list available distributions
and ‘wsl.exe --install ’ to install.
Distributions can also be installed by visiting the Microsoft Store:
Error code: Wsl/WSL_E_DEFAULT_DISTRO_NOT_FOUND
[12-02 15:14:00.981] Stderr:
[12-02 15:14:00.981] Error: Command failed: wsl --list --verbose
[12-02 15:14:00.982] Torizon Development Environment for WSL 2 is not installed :: Error code 1
[12-02 15:15:27.730] Stdout:
[12-02 15:15:27.730] Stderr: Remove-Item : A positional parameter cannot be found that accepts argument ‘PC.torizon*.tar’.
At line:1 char:1
- rm C:\Users\MY PC.torizon*.tar
-
+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
[12-02 15:15:27.731] Error: Command failed: rm C:\Users\MY PC.torizon*.tar
Remove-Item : A positional parameter cannot be found that accepts argument ‘PC.torizon*.tar’.
At line:1 char:1
- rm C:\Users\MY PC.torizon*.tar
-
+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
[12-02 15:15:28.086] Stdout: The system cannot find the file specified.
Error code: Wsl/ERROR_FILE_NOT_FOUND
There is no distribution with the supplied name.
Error code: Wsl/Service/WSL_E_DISTRO_NOT_FOUND
[12-02 15:15:28.086] Stderr: Set-Location : A positional parameter cannot be found that accepts argument ‘PC.torizon’.
At line:1 char:1
- cd C:\Users\MY PC.torizon ; Move-Item -Path c:\Users\MY PC\AppData\R …
-
+ CategoryInfo : InvalidArgument: (:) [Set-Location], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
Move-Item : A positional parameter cannot be found that accepts argument ‘PC\AppData\Roaming\Code\User\globalStorage\to
radex.apollox-vscode\file-downloader-downloads\torizon-wsl2.zip\wsl-amd64-0-0-18.img.tar’.
At line:1 char:30
- … .torizon ; Move-Item -Path c:\Users\MY PC\AppData\Roaming\Code\User\ …
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: ( [Move-Item], ParameterBindingException
- FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.MoveItemCommand
[12-02 15:15:28.086] Error: Command failed: cd C:\Users\MY PC.torizon ; Move-Item -Path c:\Users\MY PC\AppData\Roaming\Code\User\globalStorage\toradex.apollox-vscode\file-downloader-downloads\torizon-wsl2.zip\wsl-amd64-0-0-18.img.tar -Destination C:\Users\MY PC.torizon ; wsl --import Torizon . .\wsl-amd64-0-0-18.img.tar --version 2 ; wsl --set-default Torizon
Set-Location : A positional parameter cannot be found that accepts argument ‘PC.torizon’.
At line:1 char:1
- cd C:\Users\MY PC.torizon ; Move-Item -Path c:\Users\MY PC\AppData\R …
-
+ CategoryInfo : InvalidArgument: (:) [Set-Location], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
Move-Item : A positional parameter cannot be found that accepts argument ‘PC\AppData\Roaming\Code\User\globalStorage\to
radex.apollox-vscode\file-downloader-downloads\torizon-wsl2.zip\wsl-amd64-0-0-18.img.tar’.
At line:1 char:30
- … .torizon ; Move-Item -Path c:\Users\MY PC\AppData\Roaming\Code\User\ …
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: ( [Move-Item], ParameterBindingException
- FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.MoveItemCommand
[12-02 15:15:28.087] ERROR :: Error trying to install Torizon Development Environment for WSL 2 :: Error code 1