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

nrf9160 nrf9160_mdm_dfu install error

I try to update firmware for nrf9160.

My environment is
 windows10
msys2
python3.7.3

run follow, (not success)
------------------------------------------------------------------------------------------------------------------------------------
pip --no-cache-dir install nrf9160_mdm_dfu-0.10.0+dev-py3-none-any.whl

Processing c:\msys64\tmp\nrf9160_mdm_dfu\nrf9160_mdm_dfu-0.10.0+dev-py3-none-any.whl
Collecting pynrfjprog>=9.8.1 (from nrf9160-mdm-dfu==0.10.0+dev)
  Downloading files.pythonhosted.org/.../pynrfjprog-10.1.1.zip (13.2MB)
    ERROR: Complete output from command python setup.py egg_info:
    ERROR: Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\xxxxx\AppData\Local\Temp\pip-install-e_a5i2ny\pynrfjprog\setup.py", line 27, in <module>
        license=open('LICENSE.txt').read(),
    FileNotFoundError: [Errno 2] No such file or directory: 'LICENSE.txt'
    ----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in C:\Users\xxxxx\AppData\Local\Temp\pip-install-e_a5i2ny\pynrfjprog\
------------------------------------------------------------------------------------------------------------------------------------

"FileNotFoundError: [Errno 2] No such file or directory: 'LICENSE.txt'"

Why happen this?



Parents
  • Hi.

    Could you check that you have correctly installed Python 3.7? Please download and install it again and check that it is in your PATH.

    After you have done this, please follow these instructions:

    1. Download the latest modem firmware and unzip it.

    2. Open the folder, you will see the folder nrf9160_mdm_dfu.zip, unzip this folder and enter it.

    3. Open a command window and install the packet by running pip3.exe install nrf9160_mdm_dfu-0.10.1+dev-py3-none-any.whl

    Make sure that you use the correct path to pip3.exe so that Python 3.7 is running pip3.

    Note; I have already installed it

    4. Go back to the mfwnrf916007029alpha folder, update the modem by running nrf9160_mdm_dfu --update

    Does this work?

    Best regards,

    Andreas

Reply
  • Hi.

    Could you check that you have correctly installed Python 3.7? Please download and install it again and check that it is in your PATH.

    After you have done this, please follow these instructions:

    1. Download the latest modem firmware and unzip it.

    2. Open the folder, you will see the folder nrf9160_mdm_dfu.zip, unzip this folder and enter it.

    3. Open a command window and install the packet by running pip3.exe install nrf9160_mdm_dfu-0.10.1+dev-py3-none-any.whl

    Make sure that you use the correct path to pip3.exe so that Python 3.7 is running pip3.

    Note; I have already installed it

    4. Go back to the mfwnrf916007029alpha folder, update the modem by running nrf9160_mdm_dfu --update

    Does this work?

    Best regards,

    Andreas

Children
No Data
Related