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

nrfutil on windows

Hi there~

I want to install and run my own nrfutil on my pc run with windows 10, but I cannot get throw it.

After generate the exe file, nrfutil outputs some error.

here is the errror message

Here are the message output when generate exe file

my pc runs windows 10 os and I generated the nrfutil.exe as follow.

1. install python(2.7.16)

2. install pyinstaller(pip install pyinstaller)

3. install required python package(pip install -r requirements.txt)

4. install library(python setup.py install)

5. generate exe file(pyinstaller nrfutil.spec)

I referenced the statements on the Github of nrfutil.

The nrfutil source version that I used is release/v5.1

Any advice will be greate for me

Thanks~

Parents
  • Hi.

    Could you just try to run:

    pip install nrfutil

    Best regards,

    Andreas

  • Hi AndreasF~

    Thanks for the fast reply.

    I have already done this with pip install nrfutil.

    But it seems just install the nrfutil.exe to the python directory, right?

    I want to install nrfutil from source as I need to modify it.

  • Hi again.

    I think the error you have, "Windows error 6", is related to a combination of Windows 10, Click, pyinstaller, and python 2.7.

    Can you try to run a 32bit python 2.7? This should fix the issue.

    Best regards,

    Andreas

Reply
  • Hi again.

    I think the error you have, "Windows error 6", is related to a combination of Windows 10, Click, pyinstaller, and python 2.7.

    Can you try to run a 32bit python 2.7? This should fix the issue.

    Best regards,

    Andreas

Children