<?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>Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117998/update-python-instance-installed-by-nrf-connect-sdk</link><description>Dear Nordic support, 
 With the installation of every nRF Connect SDK version, there is also a python instance installed with it. 
 For example, the nRF Connect SDK V2.8.0 installs python version 3.12.4. To mitigate security vulnerabilities, it is desired</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Feb 2025 11:18:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117998/update-python-instance-installed-by-nrf-connect-sdk" /><item><title>RE: Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/524561?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 11:18:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e85e0e30-7007-44b9-b34f-9d6ae1bec605</guid><dc:creator>Pascal K&amp;#252;nzi</dc:creator><description>&lt;p&gt;Hi &amp;Oslash;yvind&lt;/p&gt;
&lt;p&gt;Thank you and your developers for the further information and the link to the alternate installation methods.&lt;/p&gt;
&lt;p&gt;Going ahead, we will keep the system wide installation in mind.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Pascal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/524521?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2025 09:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f4ebea8-580a-43a3-9ae4-e476246da296</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="Pascal K"]Unfortunately, we didn&amp;#39;t find an easy way to do so. Windows does not list the python instances installed with each nRF Connect SDK version[/quote]
&lt;p&gt;Yes, that sounds correct. Each toolchain version includes a sandboxed version of a Python version. The v2.9.0 toolchain includes Python v3.12.4. You can check this version by opening nRF Connect from the VS Code terminal:&lt;br /&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/pastedimage1740475068730v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This should open terminal instance within the 2.9.0 toolchain and you can see what version is included by e.g. running python:&lt;br /&gt;&lt;pre class="ui-code" data-mode="powershell"&gt;$ python
Python 3.12.4 (tags/v3.12.4:8e8a4ba, Jun  6 2024, 19:30:16) [MSC v.1940 64 bit (AMD64)] on win32
Type &amp;quot;help&amp;quot;, &amp;quot;copyright&amp;quot;, &amp;quot;credits&amp;quot; or &amp;quot;license&amp;quot; for more information.
&amp;gt;&amp;gt;&amp;gt;&lt;/pre&gt;&lt;/p&gt;
[quote user="oys"]Updating Python only might break compatibility between Python and scrips in the SDK. Please test compatibility of toochain v2.9.0 and sdk v2.9.0 with e.g. basic west commands, etc. To verify no issues.&amp;nbsp;[/quote]
&lt;p&gt;I might have been somewhat unclear in my previous answer, but there is no way of updating the version inside the sandboxed toolchain package. Doing so will brake the version and you will be on your own in regards to support.&lt;/p&gt;
&lt;p&gt;Asking our developers, they provide the following response:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;If they want to deviate from the provided toolchains, doing their own installations altogether might be the better idea. The trade-off is described in &lt;a title="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/install_ncs.html#alternative_method_installation_with_toolchain_manager" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/install_ncs.html#alternative_method_installation_with_toolchain_manager" rel="noopener noreferrer" target="_blank"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation/install_ncs.html#alternative_method_installation_with_toolchain_manager&lt;/a&gt;: “System-wide installation is an alternative to the recommended installation methods using the nRF Connect for VS Code extension or nRF Util. It gives you more control over each of the required tools, but requires more familiarity with Zephyr and with each of the tools.”&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
[quote user="Pascal K"]Are those regular python installs or is that some kind of portable version?[/quote]
&lt;p&gt;I would assume that the sandboxed version is some kind of portable version.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/523995?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 06:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44f9eab7-d1cc-477a-923c-5a9fc323299a</guid><dc:creator>Pascal K&amp;#252;nzi</dc:creator><description>&lt;p&gt;Hi &amp;Oslash;yvind&lt;/p&gt;
&lt;p&gt;We just updated to the nRF Connect SDK V2.9.0 and tried to also update the python instance to the latest version. Unfortunately, we didn&amp;#39;t find an easy way to do so. Windows does not list the python instances installed with each nRF Connect SDK version.&lt;/p&gt;
&lt;p&gt;When using the python installer, the directory content seems to differ as well. &lt;/p&gt;
&lt;p&gt;Are those regular python installs or is that some kind of portable version?&lt;/p&gt;
&lt;p&gt;It would be highly appreciated if you could update to the latest python version in the next SDK version.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Pascal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/518374?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 07:41:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df55af0e-8ab1-4fac-bcca-29a5e8e3b080</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Pascal,&amp;nbsp;&lt;/p&gt;
[quote user="Pascal K"]Underneath the GUI of the nRF Connect extension for VS Code, the west commands are called as well.&lt;br /&gt;To test the functionality, I could just use VS Code as before and check if problems occur?[/quote]
&lt;p&gt;Yes, that is correct, and you should be able to test with VS Code e.g. build a project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Pascal K"]So if I understand you correctly, the latest SDK version V2.9.0 shall be used to reduce the possibility of dependency problems when updating Python.[/quote]
&lt;p&gt;The toolchain for SDK v2.9.0 should be used, if you are still on v2.8.0 of the SDK. As the toolchain is what has latest version of Python. But if you want to update to SDK v2.9.0 you can do this as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let us know how that works for you.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/518371?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2025 07:25:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01fc24a1-815d-45ef-af31-6b120fdb25a9</guid><dc:creator>Pascal K&amp;#252;nzi</dc:creator><description>&lt;p&gt;Hi &amp;Oslash;yvind&lt;/p&gt;
&lt;p&gt;Thank you for the quick reply!&lt;/p&gt;
&lt;p&gt;The nRF Connect SDK V2.9.0 still uses Python V3.12.4 (&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/nrf/installation/recommended_versions.html#required_tools"&gt;Required tools&lt;/a&gt;). So if I understand you correctly, the latest SDK version V2.9.0 shall be used to reduce the possibility of dependency problems when updating Python.&lt;/p&gt;
&lt;p&gt;Underneath the GUI of the nRF Connect extension for VS Code, the west commands are called as well.&lt;br /&gt;To test the functionality, I could just use VS Code as before and check if problems occur?&lt;/p&gt;
&lt;p&gt;Please let me know if I am mistaken.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Pascal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/518278?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2025 15:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f54220c-1b75-4594-8665-1db9b66ae7cd</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We recommend testing with a newer toolchain i.e. installing toolchain v2.9.0 if using SDK v2.8.0. Updating Python only might break compatibility between Python and scrips in the SDK. Please test compatibility of toochain v2.9.0 and sdk v2.9.0 with e.g. basic west commands, etc. To verify no issues.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Python instance installed by nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/518216?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2025 16:47:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b95122f-f9c1-4b51-98f5-5957ba8c519f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Pascal,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will inquire internally, as I need to verify if there are any dependencies in the toolchain package.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>