<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrfutil ModuleNotFoundError: No module named &amp;#39;constants&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65889/nrfutil-modulenotfounderror-no-module-named-constants</link><description>Hi, 
 I have installed nrfutil on my Windows 10 computer and get the following error when running it: 
 C:\Users\00315055&amp;gt;nrfutil --help Traceback (most recent call last): File &amp;quot;c:\python37\lib\runpy.py&amp;quot;, line 193, in _run_module_as_main &amp;quot;__main__&amp;quot;, mod_spec</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Feb 2025 14:47:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65889/nrfutil-modulenotfounderror-no-module-named-constants" /><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/521585?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 14:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a913e80-de1e-4b6d-9ccc-ed9f767a540f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;nRF Util version &amp;gt;=&amp;nbsp; 7 doesn&amp;#39;t have any python dependencies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/521581?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 14:34:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdcb5a82-8fa3-482a-93ec-7a3fce2839a1</guid><dc:creator>PGenius</dc:creator><description>&lt;p&gt;&lt;a id="" href="https://www.nordicsemi.com/Products/Development-tools/nRF-Util/Download"&gt;https://www.nordicsemi.com/Products/Development-tools/nRF-Util/Download&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Is the nRF util works from the official nordic website works fine ? is it updated to work with newer python?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/368782?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 10:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae0b555-d57e-4725-bdff-4e5692898d5a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update and feedback (which I agree with - most users will use the scripts as is anyway). We plan to change the way it is installed in the next release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/368780?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 09:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:808a9fc8-efce-4bed-9417-b1e1942b4855</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Yes, that worked fine, thanks you.&lt;/p&gt;
&lt;p&gt;In my humble opinion, pre-built executables are a better choice as they don&amp;#39;t require fiddling with Python (installing it, configuring PATH, etc). Perhaps you should update the instructions in&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrfutil%2FUG%2Fnrfutil%2Fnrfutil_intro.html"&gt;Nordic Semiconductor Infocenter&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/368777?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 09:51:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37a01771-ca98-4748-b8b0-492665387a45</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi, nrfutil requires additional updates to work with Python 3.10. Are you able to work with the pre-built executable for now? The executable are available on the release page here: &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/releases"&gt;https://github.com/NordicSemiconductor/pc-nrfutil/releases&lt;/a&gt;.&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/368775?ContentTypeID=1</link><pubDate>Fri, 20 May 2022 09:46:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a64b6b0-4ec1-4c81-ad36-b813bb31cb69</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/vibe"&gt;Vidar Berg&lt;/a&gt; nrfutil is still broken with Python 3.10:&lt;/p&gt;
&lt;pre&gt;ModuleNotFoundError: No module named &amp;#39;constants&amp;#39;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/321897?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 19:00:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50b4b815-0f8c-48ae-a387-516a60cb0300</guid><dc:creator>Marcel </dc:creator><description>&lt;p&gt;We have been installing several new machines recently and all of them are now using Python3.8 as 3.9 still does not work as per my comment&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/65889/nrfutil-modulenotfounderror-no-module-named-constants/320752#320752"&gt;devzone.nordicsemi.com/.../320752&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is valid for Windows 10 only though as all is working dandy on Mac over here.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/321887?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 17:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba8d2439-658a-4fe9-bb81-68e6b83367d8</guid><dc:creator>jasonrogers</dc:creator><description>&lt;p&gt;Any update to this?&amp;nbsp; Still getting this error today.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/320752?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 14:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abc7ee61-633c-4e36-bd4f-ffdcaf124b0a</guid><dc:creator>Marcel </dc:creator><description>&lt;p&gt;As of Python 3.9.6 on Win 10 and nrfutil 5.2.0 this still seems to be an issue&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:\Users\CAD&amp;gt;nrfutil
Traceback (most recent call last):
  File &amp;quot;C:\Users\CAD\AppData\Local\Programs\Python\Python39\Scripts\nrfutil-script.py&amp;quot;, line 33, in &amp;lt;module&amp;gt;
    sys.exit(load_entry_point(&amp;#39;nrfutil==5.2.0&amp;#39;, &amp;#39;console_scripts&amp;#39;, &amp;#39;nrfutil&amp;#39;)())
  File &amp;quot;C:\Users\CAD\AppData\Local\Programs\Python\Python39\Scripts\nrfutil-script.py&amp;quot;, line 25, in importlib_load_entry_point
    return next(matches).load()
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\importlib\metadata.py&amp;quot;, line 77, in load
    module = import_module(match.group(&amp;#39;module&amp;#39;))
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\importlib\__init__.py&amp;quot;, line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 1030, in _gcd_import
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 1007, in _find_and_load
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 986, in _find_and_load_unlocked
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 680, in _load_unlocked
  File &amp;quot;&amp;lt;frozen importlib._bootstrap_external&amp;gt;&amp;quot;, line 850, in exec_module
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 228, in _call_with_frames_removed
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\__main__.py&amp;quot;, line 53, in &amp;lt;module&amp;gt;
    from nordicsemi.dfu.dfu_transport_serial import DfuTransportSerial
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 52, in &amp;lt;module&amp;gt;
    from nordicsemi.lister.device_lister import DeviceLister
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\lister\device_lister.py&amp;quot;, line 39, in &amp;lt;module&amp;gt;
    from nordicsemi.lister.windows.lister_win32 import Win32Lister
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\lister\windows\lister_win32.py&amp;quot;, line 43, in &amp;lt;module&amp;gt;
    from constants import DIGCF_PRESENT, DEVPKEY, DIGCF_DEVICEINTERFACE
ModuleNotFoundError: No module named &amp;#39;constants&amp;#39;

C:\Users\CAD&amp;gt;pip install constants
Collecting constants
  Downloading constants-0.6.0.tar.gz (5.1 kB)
Using legacy &amp;#39;setup.py install&amp;#39; for constants, since package &amp;#39;wheel&amp;#39; is not installed.
Installing collected packages: constants
    Running setup.py install for constants ... done
Successfully installed constants-0.6.0

C:\Users\CAD&amp;gt;nrfutil
Traceback (most recent call last):
  File &amp;quot;C:\Users\CAD\AppData\Local\Programs\Python\Python39\Scripts\nrfutil-script.py&amp;quot;, line 33, in &amp;lt;module&amp;gt;
    sys.exit(load_entry_point(&amp;#39;nrfutil==5.2.0&amp;#39;, &amp;#39;console_scripts&amp;#39;, &amp;#39;nrfutil&amp;#39;)())
  File &amp;quot;C:\Users\CAD\AppData\Local\Programs\Python\Python39\Scripts\nrfutil-script.py&amp;quot;, line 25, in importlib_load_entry_point
    return next(matches).load()
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\importlib\metadata.py&amp;quot;, line 77, in load
    module = import_module(match.group(&amp;#39;module&amp;#39;))
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\importlib\__init__.py&amp;quot;, line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 1030, in _gcd_import
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 1007, in _find_and_load
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 986, in _find_and_load_unlocked
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 680, in _load_unlocked
  File &amp;quot;&amp;lt;frozen importlib._bootstrap_external&amp;gt;&amp;quot;, line 850, in exec_module
  File &amp;quot;&amp;lt;frozen importlib._bootstrap&amp;gt;&amp;quot;, line 228, in _call_with_frames_removed
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\__main__.py&amp;quot;, line 53, in &amp;lt;module&amp;gt;
    from nordicsemi.dfu.dfu_transport_serial import DfuTransportSerial
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 52, in &amp;lt;module&amp;gt;
    from nordicsemi.lister.device_lister import DeviceLister
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\lister\device_lister.py&amp;quot;, line 39, in &amp;lt;module&amp;gt;
    from nordicsemi.lister.windows.lister_win32 import Win32Lister
  File &amp;quot;c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\nordicsemi\lister\windows\lister_win32.py&amp;quot;, line 43, in &amp;lt;module&amp;gt;
    from constants import DIGCF_PRESENT, DEVPKEY, DIGCF_DEVICEINTERFACE
ImportError: cannot import name &amp;#39;DIGCF_PRESENT&amp;#39; from &amp;#39;constants&amp;#39; (c:\users\cad\appdata\local\programs\python\python39\lib\site-packages\constants.py)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/294575?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 10:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e56288b0-ecce-48d4-8a3b-34fd84cedb54</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I am not sure if v3.8.7 has been tested. Is it an option to use the pre-buildt executables here: &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/releases"&gt;https://github.com/NordicSemiconductor/pc-nrfutil/releases&lt;/a&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/294288?ContentTypeID=1</link><pubDate>Sun, 14 Feb 2021 16:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faa4676b-897e-4de6-ad6f-374062d7a540</guid><dc:creator>SmallerPond</dc:creator><description>&lt;p&gt;Hmm, I have a fresh install with 3.8.7 and I see the same error:&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;ImportError: cannot import name &amp;#39;DIGCF_PRESENT&amp;#39; from &amp;#39;constants&amp;#39; (c:\users\someone\appdata\local\programs\python\python38\lib\site-packages\constants.py)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This is a bummer since I need to test secure DFU for a client.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/286322?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 14:01:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2ca0fb7-e21a-4518-be00-bc72a791580e</guid><dc:creator>Bjorn191023</dc:creator><description>&lt;p&gt;Thanks Vidar, great that you have a fix in your plans :-)&lt;/p&gt;
&lt;p&gt;Merry XMAS!&lt;/p&gt;
&lt;p&gt;BR / Bj&amp;ouml;rn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/286320?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 13:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1069a5b3-d16d-45e5-97e4-f3fa9834056a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, it is unfortunate. The current nrfutil release was made before Python 3.9, hence not included in our release tests. I have already reported this to the team, so it should get fixed in the next version.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/286317?ContentTypeID=1</link><pubDate>Tue, 22 Dec 2020 13:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:365a4bcb-f2f0-459f-83c7-34e1f6ee86c8</guid><dc:creator>Bjorn191023</dc:creator><description>&lt;p&gt;Hi A Wagner,&lt;/p&gt;
&lt;p&gt;Today I installed Python and nrfutil on a new computer. I installed Python 3.9.1 and then nrfutil through pip. I had the same issue as originally reported here, so it seems nrfutil does not work with Python 3.9.x. I downgraded Python to 3.7 and then nrfutil worked again.&lt;/p&gt;
&lt;p&gt;Nordic should fix this issue, very irritating when you download something from scratch that crashes first thing :-(&lt;/p&gt;
&lt;p&gt;BR / Bj&amp;ouml;rn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/276747?ContentTypeID=1</link><pubDate>Sun, 25 Oct 2020 09:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d426d9b-d642-457e-97d6-b46915d39227</guid><dc:creator>AWagner</dc:creator><description>&lt;p&gt;Fixed by downgrading to Python 3.8.6 and pip 20.1.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/276737?ContentTypeID=1</link><pubDate>Sat, 24 Oct 2020 14:48:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9fe596f-8476-4da7-bd9c-12eb453473cd</guid><dc:creator>AWagner</dc:creator><description>&lt;p&gt;Helllo Bjorn,&lt;/p&gt;
&lt;p&gt;i have the exact same issue as you had. But in my case your solution does not work. I cant get nrfutil to function properly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ImportError: cannot import name &amp;#39;DIGCF_PRESENT&amp;#39; from &amp;#39;constants&amp;#39; (c:\python37\lib\site-packages\constants.py)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This error does still appear.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Python 3.9.0&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/269339?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 10:23:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61c669af-4f8c-4a3e-8d5a-393654d1fb64</guid><dc:creator>Bjorn191023</dc:creator><description>&lt;p&gt;Final update:&lt;/p&gt;
&lt;p&gt;1) I uninstalled components (it has nothing to do with nrfutil):&lt;/p&gt;
&lt;p&gt;pip uninstall components&lt;/p&gt;
&lt;p&gt;2) I uninstalled nrfutil:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;pip uninstall components&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3) I installed latest version of nrfutil:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;pip install nrfutil&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Now it works. Case closed!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR / Bj&amp;ouml;rn&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfutil ModuleNotFoundError: No module named 'constants'</title><link>https://devzone.nordicsemi.com/thread/269314?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 08:52:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c0a8d78-7d78-42b3-85d8-e0e6fdde8d10</guid><dc:creator>Bjorn191023</dc:creator><description>&lt;p&gt;An update:&lt;/p&gt;
&lt;p&gt;I installed the module called constants, but now I get another error:&lt;/p&gt;
&lt;p&gt;C:\Users\00315055&amp;gt;pip install constants&lt;br /&gt;Collecting constants&lt;br /&gt; Downloading &lt;a href="https://files.pythonhosted.org/packages/2b/70/74db98e155407b11c446faaf4886830e2119425c786fbd5208397becbb16/constants-0.6.0.tar.gz"&gt;files.pythonhosted.org/.../constants-0.6.0.tar.gz&lt;/a&gt;&lt;br /&gt;Building wheels for collected packages: constants&lt;br /&gt; Building wheel for constants (setup.py) ... done&lt;br /&gt; Stored in directory: C:\Users\00315055\AppData\Local\pip\Cache\wheels\75\a1\25\7e051dae7d8fb9db1c04b0fe309a8bea40111080d3b62f1ca9&lt;br /&gt;Successfully built constants&lt;br /&gt;Installing collected packages: constants&lt;br /&gt;Successfully installed constants-0.6.0&lt;br /&gt;You are using pip version 19.0.3, however version 20.2.3 is available.&lt;br /&gt;You should consider upgrading via the &amp;#39;python -m pip install --upgrade pip&amp;#39; command.&lt;/p&gt;
&lt;p&gt;C:\Users\00315055&amp;gt;nrfutil --help&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;c:\python37\lib\runpy.py&amp;quot;, line 193, in _run_module_as_main&lt;br /&gt; &amp;quot;__main__&amp;quot;, mod_spec)&lt;br /&gt; File &amp;quot;c:\python37\lib\runpy.py&amp;quot;, line 85, in _run_code&lt;br /&gt; exec(code, run_globals)&lt;br /&gt; File &amp;quot;C:\Python37\Scripts\nrfutil.exe\__main__.py&amp;quot;, line 5, in &amp;lt;module&amp;gt;&lt;br /&gt; File &amp;quot;c:\python37\lib\site-packages\nordicsemi\__main__.py&amp;quot;, line 53, in &amp;lt;module&amp;gt;&lt;br /&gt; from nordicsemi.dfu.dfu_transport_serial import DfuTransportSerial&lt;br /&gt; File &amp;quot;c:\python37\lib\site-packages\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 52, in &amp;lt;module&amp;gt;&lt;br /&gt; from nordicsemi.lister.device_lister import DeviceLister&lt;br /&gt; File &amp;quot;c:\python37\lib\site-packages\nordicsemi\lister\device_lister.py&amp;quot;, line 39, in &amp;lt;module&amp;gt;&lt;br /&gt; from nordicsemi.lister.windows.lister_win32 import Win32Lister&lt;br /&gt; File &amp;quot;c:\python37\lib\site-packages\nordicsemi\lister\windows\lister_win32.py&amp;quot;, line 43, in &amp;lt;module&amp;gt;&lt;br /&gt; from constants import DIGCF_PRESENT, DEVPKEY, DIGCF_DEVICEINTERFACE&lt;br /&gt;ImportError: cannot import name &amp;#39;DIGCF_PRESENT&amp;#39; from &amp;#39;constants&amp;#39; (c:\python37\lib\site-packages\constants.py)&lt;/p&gt;
&lt;p&gt;So now it finds the module, but not the name&amp;nbsp;&lt;span&gt;&amp;#39;DIGCF_PRESENT&amp;#39; in the module.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please advise!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>