Getting error "ImportError: Module use of python312.dll conflicts with this version of Python." when flashing - can build perfectly fine

I get the error "ImportError: Module use of python312.dll conflicts with this version of Python." when I try to flash my device using any Python version below 3.12.x. I get no error when I try to build the project.

However, when I set the global Python version to 3.12.0 using pyenv, it first and foremost correctly doesn't recognize the nrfutil package until I install it into the new version, which is a sign that it has correctly changed the version, but I also get a new error related to not having the package "constants." When I pip install that I get a third error:

versions\3.12.0\Lib\site-packages\nordicsemi\lister\windows\lister_win32.py", line 43, in <module>
    from constants import DIGCF_PRESENT, DEVPKEY, DIGCF_DEVICEINTERFACE
ImportError: cannot import name 'DIGCF_PRESENT' from 'constants' (C:\Users\DripTooHard\.pyenv\pyenv-win\versions\3.12.0\Lib\site-packages\constants.py)


Looking online, it seems like the fix to this issue is to downgrade to 3.8 or 3.9. But this just goes back to me having the original error.

I tried looking at the support information, and it seems like the toolchain is reffering to a Python 3.12.4 version?

// IMPORTANT: The following data can contain sensitive or confidential information about your environment.
// If you do not want others to see this information, make sure to remove it before sharing the data.

// For help and support, visit Nordic Semiconductor's DevZone at https://devzone.nordicsemi.com/.

{
  "platform": {
    "os": "win32",
    "osVersion": "Windows 11 Home",
    "osKernel": "10.0.26100",
    "vscode": "1.96.4",
    "electron": "32.2.6",
    "node": "v20.18.1"
  },
  "system": {
    "date": "2025-01-30T15:19:16.999Z",
    "vscodeRoot": "d:\\DripTooHard\\Microsoft VS Code\\resources\\app",
    "nrfConnectForDesktopInstalled": true,
    "vscodeUptime": "00:12:00",
    "osUptime": "00:36:06",
    "cpu": "11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz"
  },
  "workspace": {
    "name": "record_launch_app",
    "workspaceFile": null,
    "folders": [
      "d:\\ncs\\v2.8.0\\nrf\\samples\\nfc\\record_launch_app"
    ]
  },
  "sdks": [
    {
      "version": "v2.8.0",
      "path": "d:\\ncs\\v2.8.0"
    }
  ],
  "activeBuild": "d:\\ncs\\v2.8.0\\nrf\\samples\\nfc\\record_launch_app\\build",
  "apps": [
    {
      "workspace": "d:\\ncs\\v2.8.0\\nrf\\samples\\nfc\\record_launch_app",
      "uri": "d:\\ncs\\v2.8.0\\nrf\\samples\\nfc\\record_launch_app",
      "buildConfigurations": [
        {
          "id": "d:\\ncs\\v2.8.0\\nrf\\samples\\nfc\\record_launch_app\\build",
          "name": "build",
          "boardId": "nrf54l15dk/nrf54l15/cpuapp",
          "type": "Sysbuild",
          "isChild": false,
          "isStale": false,
          "taskBindings": {
            "build": [],
            "pristineBuild": [],
            "flash": [],
            "eraseAndFlash": []
          },
          "sdk": "d:\\ncs\\v2.8.0",
          "toolchain": "nRF Connect SDK Toolchain v2.8.0"
        }
      ]
    }
  ],
  "toolchains": [
    {
      "version": "2.8.0",
      "path": "c:\\ncs\\toolchains\\2d382dcd92"
    }
  ],
  "connectedDevices": [
    {
      "serialNumber": "001057733114"
    }
  ],
  "tools": {
    "C:\\ncs\\toolchains\\2d382dcd92\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gcc.exe": "0.16.8",
    "C:\\Program Files\\SEGGER\\JLink_V794i\\JLink.exe": "7.94i",
    "C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\nrfjprog.exe": "10.24.0",
    "C:\\Users\\DripTooHard\\.pyenv\\pyenv-win\\shims\\nrfutil": null,
    "C:\\ncs\\toolchains\\2d382dcd92\\cmake": "3.21.0",
    "C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\Scripts\\west.exe": "1.2.0",
    "C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\python.exe": "3.12.4",
    "C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\ninja.exe": "1.10.2",
    "C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\gperf.exe": "3.1",
    "C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\dtc.exe": "1.4.7",
    "C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\gn.exe": "2201",
    "C:\\ncs\\toolchains\\2d382dcd92\\mingw64\\bin\\git.exe": "2.37.3.windows.1",
    "arm-gdbPath": "c:\\ncs\\toolchains\\2d382dcd92\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe",
    "riscv-gdbPath": "C:\\ncs\\toolchains\\2d382dcd92\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin\\riscv64-zephyr-elf-gdb.exe"
  },
  "nrfutil": {
    "nrfutil-device": {
      "version": "2.7.9",
      "binPath": "c:\\Users\\DripTooHard\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-x64\\platform\\nrfutil\\bin\\nrfutil-device",
      "jlinkInfo": {
        "name": "JlinkARM",
        "version": "JLink_V7.94i",
        "versionFormat": "string"
      }
    },
    "nrfutil-toolchain-manager": {
      "version": "0.14.4",
      "binPath": "c:\\Users\\DripTooHard\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-x64\\platform\\nrfutil\\bin\\nrfutil-toolchain-manager"
    }
  },
  "environment": {
    "westEnv": {
      "HOME": "C:\\Users\\DripTooHard",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\DripTooHard",
      "PATH": "C:\\ncs\\toolchains\\2d382dcd92;C:\\ncs\\toolchains\\2d382dcd92\\mingw64\\bin;C:\\ncs\\toolchains\\2d382dcd92\\bin;C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin;C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\Scripts;C:\\ncs\\toolchains\\2d382dcd92\\opt\\nanopb\\generator-bin;C:\\ncs\\toolchains\\2d382dcd92\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin;C:\\ncs\\toolchains\\2d382dcd92\\opt\\zephyr-sdk\\riscv64-zephyr-elf\\bin;c:\\Users\\DripTooHard\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-x64\\platform\\nrfutil\\lib\\nrfutil-toolchain-manager;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.0\\libnvvp;C:\\Program Files\\Java\\jdk-19\\bin;C:\\Program Files\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files\\Microsoft\\jdk-11.0.12.7-hotspot\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\PuTTY\\;C:\\Program Files\\GitHub CLI\\;C:\\Program Files\\dotnet\\;C:\\MinGW\\bin;C:\\Program Files (x86)\\sbt\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2022.4.0\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\DripTooHard\\AppData\\Local\\Programs\\Python\\Python38-32;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git LFS;C:\\Users\\DripTooHard\\Downloads\\hugo_0.111.3_windows-amd64;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin;C:\\Program Files\\Git\\cmd;C:\\Users\\DripTooHard\\PycharmProjects\\pythonProject1\\msedgedriver.exe;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin\\arm-none-eabi-addr2line.exe;C:\\Users\\DripTooHard\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\Program Files\\Vagrant\\bin;C:\\Users\\DripTooHard\\Spin\\Bin;D:\\bin;D:\\Matlab\\runtime\\win64;D:\\Matlab\\bin;C:\\Users\\DripTooHard\\.pyenv\\pyenv-win\\bin;C:\\Users\\DripTooHard\\.pyenv\\pyenv-win\\shims;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\JetBrains\\PyCharm 2022.2.1\\bin;C:\\Users\\DripTooHard\\.dotnet\\tools;C:\\Program Files\\JetBrains\\IntelliJ IDEA 2022.2.1\\bin;C:\\Program Files\\JetBrains\\CLion 2022.2.1\\bin;C:\\Users\\DripTooHard\\AppData\\Roaming\\npm;C:\\Users\\DripTooHard\\go\\bin;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Program Files\\JetBrains\\WebStorm 2023.3\\bin;D:\\DripTooHard\\Microsoft VS Code\\bin;",
      "ZEPHYR_BASE": "d:\\ncs\\v2.8.0\\zephyr",
      "ZEPHYR_TOOLCHAIN_VARIANT": "zephyr",
      "ZEPHYR_SDK_INSTALL_DIR": "C:\\ncs\\toolchains\\2d382dcd92\\opt\\zephyr-sdk",
      "PYTHONPATH": "C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin;C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\Lib;C:\\ncs\\toolchains\\2d382dcd92\\opt\\bin\\Lib\\site-packages"
    },
    "inherited": {
      "HOME": "C:\\Users\\DripTooHard",
      "HOMEDRIVE": "C:",
      "HOMEPATH": "\\Users\\DripTooHard",
      "Path": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.0\\libnvvp;C:\\Program Files\\Java\\jdk-19\\bin;C:\\Program Files\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files\\Microsoft\\jdk-11.0.12.7-hotspot\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\PuTTY\\;C:\\Program Files\\GitHub CLI\\;C:\\Program Files\\dotnet\\;C:\\MinGW\\bin;C:\\Program Files (x86)\\sbt\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2022.4.0\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\DripTooHard\\AppData\\Local\\Programs\\Python\\Python38-32;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git LFS;C:\\Users\\DripTooHard\\Downloads\\hugo_0.111.3_windows-amd64;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin;C:\\Program Files\\Git\\cmd;C:\\Users\\DripTooHard\\PycharmProjects\\pythonProject1\\msedgedriver.exe;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin\\arm-none-eabi-addr2line.exe;C:\\Users\\DripTooHard\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\Program Files\\Vagrant\\bin;C:\\Users\\DripTooHard\\Spin\\Bin;D:\\bin;D:\\Matlab\\runtime\\win64;D:\\Matlab\\bin;C:\\Users\\DripTooHard\\.pyenv\\pyenv-win\\bin;C:\\Users\\DripTooHard\\.pyenv\\pyenv-win\\shims;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin;C:\\Users\\DripTooHard\\AppData\\Local\\Programs\\Python\\Python38-32;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\JetBrains\\PyCharm 2022.2.1\\bin;C:\\Users\\DripTooHard\\.dotnet\\tools;C:\\Program Files\\JetBrains\\IntelliJ IDEA 2022.2.1\\bin;C:\\MinGW\\bin;C:\\Program Files\\JetBrains\\CLion 2022.2.1\\bin;C:\\Users\\DripTooHard\\AppData\\Roaming\\npm;C:\\Users\\DripTooHard\\go\\bin;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Program Files\\JetBrains\\WebStorm 2023.3\\bin;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin\\arm-none-eabi-addr2line.exe;C:\\Users\\DripTooHard\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WindowsApps;D:\\DripTooHard\\Microsoft VS Code\\bin;",
      "PATH": "C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v12.0\\libnvvp;C:\\Program Files\\Java\\jdk-19\\bin;C:\\Program Files\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\java8path;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files\\Microsoft\\jdk-11.0.12.7-hotspot\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\PuTTY\\;C:\\Program Files\\GitHub CLI\\;C:\\Program Files\\dotnet\\;C:\\MinGW\\bin;C:\\Program Files (x86)\\sbt\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2022.4.0\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Users\\DripTooHard\\AppData\\Local\\Programs\\Python\\Python38-32;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Git LFS;C:\\Users\\DripTooHard\\Downloads\\hugo_0.111.3_windows-amd64;C:\\Program Files\\Docker\\Docker\\resources\\bin;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin;C:\\Program Files\\Git\\cmd;C:\\Users\\DripTooHard\\PycharmProjects\\pythonProject1\\msedgedriver.exe;C:\\Program Files\\Nordic Semiconductor\\nrf-command-line-tools\\bin\\;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin\\arm-none-eabi-addr2line.exe;C:\\Users\\DripTooHard\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\Program Files\\Vagrant\\bin;C:\\Users\\DripTooHard\\Spin\\Bin;D:\\bin;D:\\Matlab\\runtime\\win64;D:\\Matlab\\bin;C:\\Users\\DripTooHard\\.pyenv\\pyenv-win\\bin;C:\\Users\\DripTooHard\\.pyenv\\pyenv-win\\shims;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin;C:\\Users\\DripTooHard\\AppData\\Local\\Programs\\Python\\Python38-32;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\JetBrains\\PyCharm 2022.2.1\\bin;C:\\Users\\DripTooHard\\.dotnet\\tools;C:\\Program Files\\JetBrains\\IntelliJ IDEA 2022.2.1\\bin;C:\\MinGW\\bin;C:\\Program Files\\JetBrains\\CLion 2022.2.1\\bin;C:\\Users\\DripTooHard\\AppData\\Roaming\\npm;C:\\Users\\DripTooHard\\go\\bin;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WinGet\\Packages\\Hugo.Hugo.Extended_Microsoft.Winget.Source_8wekyb3d8bbwe;C:\\Program Files\\JetBrains\\WebStorm 2023.3\\bin;C:\\Program Files (x86)\\Arm GNU Toolchain arm-none-eabi\\13.2 Rel1\\bin\\arm-none-eabi-addr2line.exe;C:\\Users\\DripTooHard\\AppData\\Local\\Android\\Sdk\\platform-tools;C:\\Users\\DripTooHard\\AppData\\Local\\Microsoft\\WindowsApps;D:\\DripTooHard\\Microsoft VS Code\\bin;"
    }
  },
  "terminal": {
    "defaultProfile": "PowerShell"
  },
  "config": {
    "nordic-semiconductor.nrf-connect": {
      "topdir": "",
      "toolchain": {
        "path": ""
      },
      "ozonePath": "",
      "applications": [],
      "applicationOptions": {},
      "kconfig": {
        "interface": "kconfig"
      },
      "west": {
        "env": {
          "$base": "terminal"
        }
      },
      "boardRoots": [],
      "taskBindings": {},
      "buildTerminal": {
        "condensedProgress": true
      },
      "debugging": {
        "flash": true,
        "bindings": {},
        "justMyCode": false
      },
      "activeAppFollowActiveEditor": true,
      "flash": {
        "softreset": false,
        "erase": false,
        "recover": false
      },
      "enableTelemetry": false,
      "thirdpartyIntegration": {},
      "toolchainManager": {
        "indexURL": null,
        "installDirectory": null
      },
      "nrfutil": {
        "home": null
      },
      "defaultOpenAction": "ask",
      "terminalProfile": {
        "shell": null
      }
    },
    "nordic-semiconductor.nrf-terminal": {
      "terminalMode": "character"
    }
  },
  "extensions": {
    "internal": {
      "nordic-semiconductor.nrf-connect": {
        "version": "2025.1.127",
        "path": "c:\\Users\\DripTooHard\\.vscode\\extensions\\nordic-semiconductor.nrf-connect-2025.1.127-win32-x64",
        "isActive": true
      },
      "nordic-semiconductor.nrf-terminal": {
        "version": "2024.9.14",
        "path": "c:\\Users\\DripTooHard\\.vscode\\extensions\\nordic-semiconductor.nrf-terminal-2024.9.14",
        "isActive": true
      },
      "nordic-semiconductor.nrf-devicetree": {
        "version": "2024.12.15",
        "path": "c:\\Users\\DripTooHard\\.vscode\\extensions\\nordic-semiconductor.nrf-devicetree-2024.12.15",
        "isActive": true
      },
      "nordic-semiconductor.nrf-kconfig": {
        "version": "2024.12.13",
        "path": "c:\\Users\\DripTooHard\\.vscode\\extensions\\nordic-semiconductor.nrf-kconfig-2024.12.13",
        "isActive": true
      }
    },
    "external": {
      "marus25.cortex-debug": null,
      "ms-vscode.cpptools": "1.23.5",
      "ms-vscode.js-debug": "1.96.0",
      "ms-vscode.js-debug-companion": "1.1.3",
      "ms-vscode.vscode-js-profile-table": "1.0.10",
      "Arm.arm-debugger": "1.4.4",
      "Arm.cmsis-csolution": "1.46.0",
      "Arm.device-manager": "1.13.1",
      "Arm.embedded-debug": "1.2.2",
      "Arm.environment-manager": "1.10.0",
      "Arm.keil-studio-pack": "1.18.4",
      "Arm.virtual-hardware": "0.6.3",
      "cortex-debug.svd-viewer": "1.2.3",
      "Draco.draco-dark": "0.0.3",
      "eclipse-cdt.memory-inspector": "1.1.0",
      "eclipse-cdt.peripheral-inspector": "1.5.1",
      "formulahendry.code-runner": "0.12.2",
      "GitHub.vscode-pull-request-github": "0.102.0",
      "Ionide.Ionide-fsharp": "7.22.0",
      "jdinhlife.gruvbox": "1.22.0",
      "jeff-hykin.better-cpp-syntax": "1.27.1",
      "lintangwisesa.arduino": "0.3.4",
      "mnxn.fsharp-fsl-fsy": "0.0.1",
      "mnxn.theme-golden-dracula": "1.2.8",
      "ms-dotnettools.csharp": "2.61.28",
      "ms-dotnettools.vscode-dotnet-pack": "1.0.13",
      "ms-dotnettools.vscode-dotnet-runtime": "2.2.6",
      "ms-toolsai.jupyter": "2024.11.0",
      "ms-toolsai.jupyter-keymap": "1.1.2",
      "ms-toolsai.jupyter-renderers": "1.0.21",
      "ms-toolsai.vscode-jupyter-cell-tags": "0.1.9",
      "ms-toolsai.vscode-jupyter-slideshow": "0.1.6",
      "ms-vscode.cmake-tools": "1.19.52",
      "ms-vscode.cpptools-extension-pack": "1.3.0",
      "ms-vscode.cpptools-themes": "2.0.0",
      "ms-vscode.powershell": "2025.0.0",
      "ms-vscode.vscode-serial-monitor": "0.13.1",
      "platformio.platformio-ide": "3.3.4",
      "redhat.vscode-yaml": "1.15.0",
      "rokoroku.vscode-theme-darcula": "1.2.3",
      "trond-snekvik.gnu-mapfiles": "1.1.0",
      "twxs.cmake": "0.0.17",
      "vscjava.vscode-gradle": "3.16.4",
      "yigits.nordic-vibes": "0.0.3"
    }
  }
}


I am wondering if the fix would be to somehow change the python version in the toolchain, but I would like to hear first if you have any other suggestions? I have gone through my path and replaced all occurances of Python with a refference to 3.8.6, but once again, it appears that pyenv is correctly setting the right python versions, so this is most likely not a path issue.

Parents Reply
  • Hi! I fixed that, by following next steps.
    1. I have deleted the floder "C:\Users\USER_NAME\AppData\Local\Programs\Python\"Python_Ver"\Lib\site-packages\"nrfultil-xxx" " (entire folder)
    2. After that, i have tried again and get error, that i have no nrfutil installed. To fix that, i download nrfutil from link below and placed this ".exe" file to "C:\ncs\toolchains\"hash"\opt\bin\Scripts". Then you need to open the folder in Terminal (powershell, cmd) and type ".\nrfutil.exe install device".
    3. Restart VS Code, and now it should work

Children
No Data
Related