<?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>Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118561/issue-with-flashing-using-nrf-connect-exentions-in-vs-code</link><description>Hi there, 
 I&amp;#39;m encountering an issue while trying to flash a PWM example built with NCS v2.9.0 on Windows 11 (using Python 3.10 ). The build completes successfully and generates the merged.hex file, but flashing fails with a Python DLL conflict error</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Feb 2025 14:13:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118561/issue-with-flashing-using-nrf-connect-exentions-in-vs-code" /><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/522227?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 14:13:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c552d61-9ea4-497d-b5c6-945b6b137b81</guid><dc:creator>Karim_Os</dc:creator><description>&lt;p&gt;Hi.&lt;br /&gt;It worked!&lt;br /&gt; Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/522185?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 12:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:780adc99-99b4-436e-b1d4-af72d92eb913</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Karim,&lt;/p&gt;
&lt;p&gt;Your issue is mostly because of this mix of python versions in the same location. I would suggest you to try uninstalling both the versions (3.10 and 3.12) and then re-install the required 3.12. The install the nrfutil in that path too.&lt;/p&gt;
&lt;p&gt;I understand that it&amp;#39;s hectic, apologies, but the confusion in the paths is the problem.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/522099?ContentTypeID=1</link><pubDate>Sun, 09 Feb 2025 11:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99e576a4-4f6f-4749-bd87-e3c061203a83</guid><dc:creator>Karim_Os</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;br /&gt;I ran the command the output showed the path of the 2 python versions,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1739099593014v2.png" alt=" " /&gt;&lt;br /&gt;which version to unintsall ? 3.12 or 3.10 ?&amp;nbsp;&lt;br /&gt;If 3.12 is to be removed (As the nrfutil is not in its directory) then,&amp;nbsp; I face the same issue that ends with&lt;/p&gt;
&lt;p&gt;&amp;quot;&amp;nbsp; File &amp;quot;\AppData\Local\Programs\Python\&lt;strong&gt;Python310&lt;/strong&gt;\lib\ctypes\__init__.py&amp;quot;, line 8, in &amp;lt;module&amp;gt;&lt;br /&gt;ImportError: Module use of &lt;strong&gt;python312&lt;/strong&gt;.dll conflicts with this version of Python.&amp;quot;&lt;/p&gt;
&lt;p&gt;and the python312.dll is inside the toolchain bin folder&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Karim Osama&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/521893?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2025 10:18:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c04b3312-8950-4062-98de-9d346ac97038</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;It looks like it&amp;#39;s using the python installation outside the toolchain directory. Could you also try:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;where nrfutil&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;where python&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Basically they should both be in the same path, i.e. the python that&amp;#39;s installed by your NCS toolchain should be the one that&amp;#39;s being used.&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s not, then please uninstall the python found in the &amp;quot;AppData/Local.....&amp;quot; location. You can go to the control panel and uninstall it there. Then please try running. Because then the other Python might be used.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/521562?ContentTypeID=1</link><pubDate>Wed, 05 Feb 2025 13:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e78dbe47-b7a6-4fb2-9b68-17c718846eb1</guid><dc:creator>Karim_Os</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;br /&gt;AppData\Local\Programs\Python\Python312\python312.dll&lt;br /&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/521292?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2025 12:08:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ce81dcb-6113-4578-88a1-65743c0ad0d0</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Karim,&lt;/p&gt;
&lt;p&gt;Maybe it could be because the nrfutil is using some other python version which might be created by the SDK. We can check if this is the case. Could you tell me what you get when you try:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;where python312.dll&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This will tell us the location of the python which is being used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/521070?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 10:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12f0f15b-e266-4d62-b031-7ca3c2f3b25f</guid><dc:creator>Karim_Os</dc:creator><description>&lt;p&gt;Issue us persistence before / after installing python 3.12&amp;nbsp;&lt;br /&gt;it seems the conflicted python312.dll is already in the toolchain folder 2.9.0&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with Flashing using nRF Connect Exentions in VS Code</title><link>https://devzone.nordicsemi.com/thread/521049?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2025 09:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d547f285-ff5f-4beb-9f2b-6a043126da3f</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Karim,&lt;/p&gt;
[quote user=""]Installed and uninstalled &lt;strong&gt;Python 3.12&lt;/strong&gt;.[/quote]
&lt;p&gt;When you installed the Python3.12 version, did you get the issue when flashing?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>