Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

cant install manage SDKs via vscode nrf extension

Hello,
I installed the the toolchains 1.9.0(working on existing project) successfully.
However, i am not able to install manage SDKs.

This is my output:

Updating files: 100% (11942/11942), done.
[west]: Traceback (most recent call last):
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\manifest.py", line 1296, in __init__
[west]:     validate(source_data)
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\manifest.py", line 474, in validate
[west]:     raise ManifestVersionError(min_version_str)
[west]: west.manifest.ManifestVersionError: ('0.13', None)
[west]: 
[west]: The above exception was the direct cause of the following exception:
[west]: 
[west]: Traceback (most recent call last):
[west]:   File "runpy.py", line 193, in _run_module_as_main
[west]:   File "runpy.py", line 86, in _run_code
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Scripts\west.exe\__main__.py", line 7, in <module>
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\app\main.py", line 781, in main
[west]:     app.run(argv or sys.argv[1:])
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\app\main.py", line 106, in run
[west]:     self.run_command(argv)
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\app\main.py", line 336, in run_command
[west]:     cmd.run(args, unknown, self.topdir, manifest=self.manifest)
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\commands.py", line 140, in run
[west]:     self.do_run(args, unknown)
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\app\project.py", line 198, in do_run
[west]:     topdir = self.bootstrap(args)
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\app\project.py", line 286, in bootstrap
[west]:     projects = Manifest.from_file(temp_manifest,
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\manifest.py", line 1153, in from_file
[west]:     return Manifest(**kwargs)
[west]:   File "c:\ncs\toolchains\v1.9.0\opt\bin\Lib\site-packages\west\manifest.py", line 1298, in __init__
[west]:     raise ManifestVersionError(mv.version, file=source_file) from mv
[west]: west.manifest.ManifestVersionError: ('0.13', WindowsPath('c:/ncs/v1.9.0/.west/manifest-tmp/west.yml'))

[west]: exited with code 1.

Parents Reply
  • after deleting the SDK, reinstalling the SDK from nrf connect for desktop and reopening the project in vsc, and selecting the right sdk and toolchain should work.

    You do not need to re-install from vsc if you have already successfully installed using the toolchain manager.

    Can you show me the snapshot of your whole VSC IDE when you compiled your project? Just want to double check if things are set up right there.

Children
No Data
Related