This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Segger Open nRF connect project

Hello?

There is a problem opening the SPM example.

I think it's because can't find the west.exe file. it's not in the Python37 folder, but in the Python38 folder. How can I change the path?

If there are other causes, please let me know.

Parents
  • Hi!

    It looks like the problem is that it is finding west.exe in the Python 3.7 folder, but then using Python 3.8 libraries when building, cause a mismatch.

    To change the path, in Windows, search "Environment Variables" on your computer, and select "Edit the system environment variables". Select "Environment Variables" in the bottom right, find the line that says "Path" and double click. Then change the path pointing to "python37/scripts/west" to point to the west file in Python38.

    If you're not on Windows, I'm sure a simple google search will explain how to change a path on your OS.

    Best regards,

    Heidi

Reply
  • Hi!

    It looks like the problem is that it is finding west.exe in the Python 3.7 folder, but then using Python 3.8 libraries when building, cause a mismatch.

    To change the path, in Windows, search "Environment Variables" on your computer, and select "Edit the system environment variables". Select "Environment Variables" in the bottom right, find the line that says "Path" and double click. Then change the path pointing to "python37/scripts/west" to point to the west file in Python38.

    If you're not on Windows, I'm sure a simple google search will explain how to change a path on your OS.

    Best regards,

    Heidi

Children
No Data
Related