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

Mesh nrfutil installation

Hello everyone,

I am going to run the mesh DFU example. I found that I must use Python2, not 3 to work correctly. I follow the instruction suggested in this post.

https://github.com/NordicSemiconductor/pc-nrfutil/tree/0_5_3

There are some problems with the installation of this customised version of nrfutil.

I installed Python 2.7.18 in which pip is installed automatically. Then I downloaded the nrfutil file and cloned in the python folder. then I followed the steps mentioned in the GitHub. I faced this error while I am installing py2exe.

 

I tryed again with downloading py2exe source compatible with python 2.7 and run pip install py2exe. I faced this error.

It seems that it is impossible to use python2.7 anymore and there is no way to use mesh_nrfutil tool with higher versions of python.

It is annoying to deal with incompatibility software issues...

In addition, there is no requirements.txt in the python folder and I had to run this in the nrfutil folder. I do not know that was correct or not.

Could you please advice me?

Regards,

Sama

Parents
  • Hi Sama, 

    Are you installing nrfutil to do mesh DFU ? 

    If you are, you would need to install this branch , not the v0.5.3

    Please post your full log when you receive the error, not the screenshot. 
    I just tried to install nrfutil here and even though this function: 

    python setup.py py2exe


    Wouldn't work on windows 64 bits. But this: 

    python setup.py install

    Worked. I can find nrfutil.exe inside C:\Python27\Scripts and can use the tool.

    Please make sure you called:

    pip install http://sourceforge.net/projects/py2exe/files/latest/download?source=files

    To install py2exe. 

Reply
  • Hi Sama, 

    Are you installing nrfutil to do mesh DFU ? 

    If you are, you would need to install this branch , not the v0.5.3

    Please post your full log when you receive the error, not the screenshot. 
    I just tried to install nrfutil here and even though this function: 

    python setup.py py2exe


    Wouldn't work on windows 64 bits. But this: 

    python setup.py install

    Worked. I can find nrfutil.exe inside C:\Python27\Scripts and can use the tool.

    Please make sure you called:

    pip install http://sourceforge.net/projects/py2exe/files/latest/download?source=files

    To install py2exe. 

Children
Related