<?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>NanoPB  and NCS python standard libs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85398/nanopb-and-ncs-python-standard-libs</link><description>Hi 
 Im am struggling getting nanopb to parse proto files in NCS toolchain zephyr context. 
 It appears that the python38 embedded in NCS toolchain does not include all standard libraries. 
 From the trace below it can be seen that the plistlib is included</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 26 Oct 2022 10:18:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85398/nanopb-and-ncs-python-standard-libs" /><item><title>RE: NanoPB  and NCS python standard libs</title><link>https://devzone.nordicsemi.com/thread/392569?ContentTypeID=1</link><pubDate>Wed, 26 Oct 2022 10:18:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da3f3318-5321-4202-bb18-11a714fe9ca5</guid><dc:creator>Torsten Rasmussen</dc:creator><description>&lt;p&gt;Please find a solution here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93166/nanopb-build-error/392565?focus=true"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/93166/nanopb-build-error/392565?focus=true&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This will also be fixed with next NCS Toolchain and next NCS release / as well as sdk-nrf/main .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NanoPB  and NCS python standard libs</title><link>https://devzone.nordicsemi.com/thread/359014?ContentTypeID=1</link><pubDate>Mon, 21 Mar 2022 08:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be8202b8-9be9-4687-a922-5d6b8fe3cd0c</guid><dc:creator>Anders Esbensen</dc:creator><description>&lt;p&gt;Hi Dejan&lt;/p&gt;
&lt;p&gt;Manual install brought me a bit closer. The root cause is that pb generator scripts uses the py launcher (py.exe) during the protobuff build steps and hence ends up running outside the virtual environment.&amp;nbsp; Placing af dummy py.bat that redirects to python.exe ( shifting parameters) in the Scripts folder of the virtual python environment is a possible workaround.&lt;/p&gt;
&lt;p&gt;Br Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NanoPB  and NCS python standard libs</title><link>https://devzone.nordicsemi.com/thread/357834?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 08:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b095ae6b-89ff-4a0b-b7d4-510733a50968</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Anders,&lt;br /&gt;&lt;br /&gt;Please try manual installation and let me know the results.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NanoPB  and NCS python standard libs</title><link>https://devzone.nordicsemi.com/thread/357820?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 08:06:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76411779-e4e6-4036-8fc6-4ed64194ba21</guid><dc:creator>Anders Esbensen</dc:creator><description>&lt;p&gt;Hi Dejan&lt;/p&gt;
&lt;p&gt;Sorry for the late reply but have been out office the last week.&lt;/p&gt;
&lt;p&gt;My installation has been through Toolchain manager, and i have done no changes to the process.&lt;/p&gt;
&lt;p&gt;It might be a solution to do manual setup with separate virtual python environment. I will give that a try&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Anders&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NanoPB  and NCS python standard libs</title><link>https://devzone.nordicsemi.com/thread/356379?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 15:58:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67ddd0bd-4846-4bfa-9c17-e5e650338397</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Anders,&lt;/p&gt;
&lt;p&gt;Could you confirm that your installation procedure was through nRF Connect for Desktop and Toolchain Manager?&amp;nbsp; &lt;br /&gt;Can you describe how you installed nRF Connect for Desktop and Toolchain Manager? &lt;br /&gt;Which versions of nRF Connect for Desktop and Toolchain Manager have you been using? &lt;br /&gt;Have you made any changes to the installation process yourself?&lt;br /&gt;&lt;br /&gt;Instead through Toolchain Manager, you could &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK_dev/doc/PR-4004/nrf/gs_installing.html"&gt;install nRF Connect SDK manually&lt;/a&gt;. This would give you more control over the installation process. &lt;br /&gt;Try creating python virtual environment with a suitable python version required by NCS. After activation of the virtual environment, you could just follow the steps outlined in the guide for manual installation which is linked above.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>