Hi,
This error occurs when I write below command for OTA_DFU demo:
cmd : exe keys generate private.key
Error:
ImportError: cannot import name 'DIGCF_PRESENT' from 'constants'
Please help me on this regards.
Thanks.
regards,
Archana
Hi,
This error occurs when I write below command for OTA_DFU demo:
cmd : exe keys generate private.key
Error:
ImportError: cannot import name 'DIGCF_PRESENT' from 'constants'
Please help me on this regards.
Thanks.
regards,
Archana
Hi,
Is this related to your issue : https://github.com/NordicSemiconductor/pc-nrfutil/issues/222
Please make sure you are using Python 2.7 not 3.x
Hi Hung Bui,
Thanks for the reply. I tried with all posible versions of python 2.x and 3.x.
I added the path of python folder into environment variables also.
regards,
Archana
Hi Hung Bui,
Thanks for the reply. I tried with all posible versions of python 2.x and 3.x.
I added the path of python folder into environment variables also.
regards,
Archana
Do you have both Python running ? Please make sure pip was used for python 2.7 and when you execute the nrfutil, it was python 2.7
Please send a full screenshot/log of your command lines.
Please find the below screenshot when I am trying with 2.7.0.
regards,
Archana