Kconfig: Requires python 3.6.0 errror

Installing  nRF Connect for VS Code on Windows 11 using the guides in https://academy.nordicsemi.com/topic/exercise-1-1/. When starting nRF Connet in VS Code the following error appears:

"Kconfig: Requires python 3.6.0

Source: nRF Kconfig (Extension)"

If I install python 3.6.0 on the computer and sets Kconfig: Python to point to it, reboot the PC and then retry to start nRF Connet in VS Code the following error appears:

"Invalid python executable "C:\Users\admin\AppData\Local\Programs\Python\Python36\python.exe": spawn C:\WINDOWS\system32\cmd.exe ENOENT

Source: nRF Kconfig (Extension)".

My PATH points to a python 3.11 version that I uses for other programs. The Windows 11 and VS Code are updated to the newest versions and I selected the newest version of all nRF components during installation.

Parents
  • Hi,

    Could you please verify that you performed all required steps outlined in the documentation for manual installation or automatic installation? For simplicity, automatic installation procedure is recommended. Looking at supported operating systems, you could try using Windows 10 instead of Windows 11. Required tools specify Python version 3.8.2 which is installed with Toolchain Manager during automatic installation. You should not need to install Python 3.6 manually. In addition, ensure that there is appropriate Python specified in your Path environment variable. Regarding nRF Kconfig extension, you could try disabling/uninstalling/installing another version of the extension. If you have not done it already, you could also try to start VS Code from the Toolchain Manager.

    Best regards,
    Dejan

Reply
  • Hi,

    Could you please verify that you performed all required steps outlined in the documentation for manual installation or automatic installation? For simplicity, automatic installation procedure is recommended. Looking at supported operating systems, you could try using Windows 10 instead of Windows 11. Required tools specify Python version 3.8.2 which is installed with Toolchain Manager during automatic installation. You should not need to install Python 3.6 manually. In addition, ensure that there is appropriate Python specified in your Path environment variable. Regarding nRF Kconfig extension, you could try disabling/uninstalling/installing another version of the extension. If you have not done it already, you could also try to start VS Code from the Toolchain Manager.

    Best regards,
    Dejan

Children
No Data
Related