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

build mesh nrfutil from source code

Spent a day to build the mesh nrfutil tool. Write down the key step for remind others 

Build in windows, No idea for install py2exe in ubuntu python2.7

Use python2.7,  do not believe the noridc infrocentor document 

Installing nRF Util
You can install nRF Util from the Python Package Index (PyPI) or you can run or install it from the sources.

In both cases, the following prerequisites must be installed:
Python 3.7 or later
pip (see Installing Python Modules)
 

Because you would meet some python2.7 source code during setup.

1. Download python2.7 installer from python.org, install directly, and add windows path manually.

(Do not install from windows app store, otherwise you would meet permission issue durring setup).

2. Upgrade  PIP 

python -m pip install --upgrade pip

3. Download py2exe and install,  

pip install https://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/py2exe-0.6.9.zip/download

if found problem related with vc , go to  http://aka.ms/vcpython27  download  VCForPython.msi and install it.

4. Setup 

.

pip install -r requirements.txt
python setup.py install

Good luck.

Yu Guorong

Related