<?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>After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named &amp;#39;yaml&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62769/after-upgrading-from-1-3-0-rc1-to-1-3-0-i-get-the-error-modulenotfounderror-no-module-named-yaml</link><description>Hi, I&amp;#39;m trying to upgrade nRF Connect SDK from 1.3.0-rc1 to 1.3.0 because I need one of the bugfixes to keep developing. I&amp;#39;m on macOS catalina and I&amp;#39;ve used the Toolchain Manager. Now I get this annoying and apparently well known error message when opening</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jun 2021 15:06:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62769/after-upgrading-from-1-3-0-rc1-to-1-3-0-i-get-the-error-modulenotfounderror-no-module-named-yaml" /><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/314769?ContentTypeID=1</link><pubDate>Thu, 10 Jun 2021 15:06:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07a81840-db57-4c21-a764-2231ad7c8b6b</guid><dc:creator>Mus</dc:creator><description>&lt;p&gt;Thanks Ian!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I was having the exact same issue on a MacOS Big Sur. Running the SEGGER app from the terminal solved the issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/294029?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 15:32:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aa18a0f-4713-4dc5-bee5-eea0d74926d1</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Thanks for the advice! Forwarding it.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/294023?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 15:28:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b533b08d-2657-4761-b422-107c823f71c7</guid><dc:creator>rlb</dc:creator><description>&lt;p&gt;Your developers / QA should test NCS install procedure with Apple Xcode &amp;nbsp;already installed.. I believe that was part of my problem with multiple Python / Python3 executables. &amp;nbsp;And perhaps add a diagnostic / troubleshooting script to verify tools are installed and accessible where they are expected by NCS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/294018?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 15:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5dbec3d2-b84d-43fc-9095-4982e5b0e343</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Thanks for your details on this issue guys! We&amp;#39;re still working hard on getting making the installation procedure for NCS on macOS more straightforward. I&amp;#39;m reporting the information you here to the developers.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/members/ianaber"&gt;IanAber&lt;/a&gt;, apologies for a delayed reply here. As the issue is marked &amp;quot;answered&amp;quot; I don&amp;#39;t get continued updates on activity. Just wanted to add as well that I agree that IDE is usually the way to go for most developers, but personally I find it much more efficient to work in a more general editor, like VS Code, and build on the command line.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/293949?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 11:20:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92aab7ec-8d6b-4181-877c-9d5e4ec04527</guid><dc:creator>doozMen</dc:creator><description>&lt;p&gt;So I resulted to you earliar answer and lauched from commandline. Now it is working! Thanks a lot. This took me 3 days but now looking forward to connect things!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/293946?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 11:17:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a010bcf-0d4e-4cb9-bab3-f191beba5b1d</guid><dc:creator>doozMen</dc:creator><description>&lt;p&gt;I&amp;nbsp;installed using the toolchain manager and it keeps using the version that got installed with the toolchain manager as I see in the output `File &amp;quot;/opt/nordic/ncs/v1.4.2/toolchain/Cellar/python@3.8/3.8.2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/west/manifest.py&amp;quot;`&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/293943?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 11:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89c5ebaf-2619-4708-ab47-c8a4841414cd</guid><dc:creator>doozMen</dc:creator><description>&lt;p&gt;python 3.8.2. I will update Python then ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/293807?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 14:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e17232ca-eea4-4d46-adf6-6fdc947446fc</guid><dc:creator>IanAber</dc:creator><description>&lt;p&gt;If you open a terminal window and type&amp;nbsp;python3 --version what version does it report? For a successful install of the Nordic tools this appears to need&amp;nbsp;to be Python 3.9.0 or higher.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/293685?ContentTypeID=1</link><pubDate>Wed, 10 Feb 2021 08:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fab2ec41-a51a-4cfb-98b7-10234e7b536a</guid><dc:creator>doozMen</dc:creator><description>&lt;p&gt;Sorry but I did both and I keep having this issue. I&amp;#39;m switching to windows now but would be grate if this could be fixed. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/284590?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2020 15:21:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69319d22-87e2-45aa-b324-eeae99a99391</guid><dc:creator>IanAber</dc:creator><description>&lt;p&gt;I ran into another issue that was not resolved by editing the python.cmake. I was unable to change the project configuration because it was also using the wrong version of Python. I did a little more digging.&lt;/p&gt;
&lt;p&gt;The fundamental problem here is that if you execute Segger Embedded Studio from spotlight or finder it does NOT use the path environment variable defined for whatever shell you use in Terminal. OS X Catalina on the Mac now uses zsh so when using terminal you get the path as defined in ~/.zprofile. OS X comes with an installation of Python in the /usr/bin folder but this is actually Python3.8 whereas following the instructions in the Nordic getting started guide results in a home brew installation of Python3.9. Python3.9 is found first on the path when executing from a zsh shell but when executing from a finder or spotlight launched GUI app the first location on the path is /usr/bin and this results in Python3.8 being found by the find_package command in cmake.&lt;/p&gt;
&lt;p&gt;There appear to be two ways to solve this problem.&lt;/p&gt;
&lt;p&gt;1. If you do not want ot mess with the path settings for all GUI applications you can simply launch Segger Embedded Studio from a terminal shell. e.g. &amp;nbsp;Open Terminal and enter (including the double quotes)&amp;nbsp;&amp;quot;/Applications/arm_segger_embedded_studio_v520b_macos_x64_nordic/SEGGER Embedded Studio for ARM 5.20b.app/Contents/MacOS/emStudio&amp;quot;&lt;/p&gt;
&lt;p&gt;2. You can set the GUI path by executing this command from a terminal session.&lt;br /&gt;&lt;span&gt;sudo launchctl config user path /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin.&lt;br /&gt;This will place the home brew managed executables ahead of the built in path and cause GUI launched applications to pick up the correct version of Python. You will need to reboot to get this to take effect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/281606?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 14:27:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ae15f09-ae99-47b1-8c1b-abdd8b12309b</guid><dc:creator>IanAber</dc:creator><description>&lt;p&gt;&lt;span&gt;I understand. I find it odd that anyone would seriously want to use the command line to build a project when there is a perfectly good ide.&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;The problem you have with OS X is that it ships with python and you cannot override it easily. Since Seeger has a specific setting to provide the python interpreter it seems odd that this would then be ignored later. Why provide the setting?&lt;/div&gt;
&lt;div&gt;I would set up a definition for the python executable in the shell environment and document that as a requirement for command line compilation. Anyone using command line stuff will be very happy to add that to their shell environment.&amp;nbsp;
&lt;div&gt;Another option is simply don&amp;rsquo;t set the python path in the make file if it is already set. You could even spit out a debug line to say you found an existing value and did not override it.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/281485?ContentTypeID=1</link><pubDate>Tue, 24 Nov 2020 10:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d3b7cea-5094-4435-bfc2-d89daf092015</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi, Ian! Thanks for suggesting this fix. However, note that this will block the user from building on the command line as it leads to erroneous behavior in the west.cmake script. I believe this stems from the command line environment not having&amp;nbsp;PYTHON_EXECUTABLE defined, while SES does have it defined. I believe the best way to mitigate this issue is to ensure that the correct python distribution is used when installing and handling packages.&lt;br /&gt;&lt;br /&gt;We&amp;#39;re working hard on providing adequate support for MacOS and Linux so we&amp;#39;re thankful for all input!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/281208?ContentTypeID=1</link><pubDate>Sun, 22 Nov 2020 01:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b51475-4e61-404e-87dd-1490f0a0c212</guid><dc:creator>IanAber</dc:creator><description>&lt;p&gt;I found that there is a couple of lines at the bottom of python.cmake in the zephyr/cmake folder that cause cmake to search for Python and disregard the directive specified in the nRF Connect application. In my system the python found is 3.8 which is part of the developer command line tools in OS X not version 3.9 which is loaded normally based on the path designation for the shell. Since this is not the python version into which yam was installed it fails.&lt;/p&gt;
&lt;p&gt;To fix this and allow cmake to use the default version of python &amp;#39;i simply commented these two lines out.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;# find_package(Python3 ${PYTHON_MINIMUM_REQUIRED} REQUIRED ${PYTHON_EXACT})&lt;br /&gt;# set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE})&lt;/p&gt;
&lt;p&gt;The environment variable,&amp;nbsp;&lt;span&gt;PYTHON_EXECUTABLE, is already set so there is no need to change it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Perhaps this should be changed in the distribution for MAC installation.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/276714?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2020 18:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:051dd6c6-0f8f-437a-837c-da3c48cb276c</guid><dc:creator>crasspm</dc:creator><description>&lt;p&gt;Ya, I again had to revert to master after trying the 1.3.1 release...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/276445?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2020 12:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4e1cca7-d9c3-477b-800a-b56fb632937b</guid><dc:creator>rlb</dc:creator><description>&lt;p&gt;Same! &amp;nbsp;Crazy this still has not been resolved in release branch. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/256018?ContentTypeID=1</link><pubDate>Sat, 20 Jun 2020 00:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7620f677-a55e-4208-bd4f-03fdb22d633c</guid><dc:creator>24thFrame</dc:creator><description>&lt;p&gt;I was also having this issue and using master in the &amp;quot;&lt;span&gt;Toolchain Manager&amp;quot;&amp;nbsp;&lt;/span&gt;worked for me. Would be great to know when a stable version is available that has this fix.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/256013?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 22:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac93d9e0-cff6-4dbd-b39d-34f0e48bcd99</guid><dc:creator>crasspm</dc:creator><description>&lt;p&gt;Thanks &lt;a href="https://devzone.nordicsemi.com/members/jan-erik"&gt;Jan Erik&lt;/a&gt;, using master has worked for me as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/255897?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 08:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0363d7fb-f728-43a3-b42c-913f121ae830</guid><dc:creator>Jan Erik</dc:creator><description>&lt;p&gt;Going to answer my own question here.&lt;br /&gt;&lt;br /&gt;I enabled master branch in Toolchain Manager, installed it and opened the project. &lt;br /&gt;It worked fine, so this has obviously been fixed already.&lt;br /&gt;&lt;br /&gt;I would really recommend putting some kind of &amp;quot;Known errors and fixes&amp;quot; list next to each version in the toolchain manager.&lt;br /&gt;That would have saved me and my company a day of struggling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/255893?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 08:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:199b71a5-8eb4-4979-921a-510f279538bd</guid><dc:creator>Jan Erik</dc:creator><description>&lt;p&gt;I might have accidentally written the opposite of what I did.&lt;br /&gt;&lt;br /&gt;For http_application_update sample I&amp;#39;m using the NS version, because the LTE modem doesn&amp;#39;t support secure mode.&lt;br /&gt;&lt;br /&gt;For blinky I&amp;#39;m using the safe version.&lt;br /&gt;&lt;br /&gt;All of this is working fine in version 1.3.0-rc1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/255868?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 05:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce7000bc-3624-4ea2-a893-8ab4b5f7db61</guid><dc:creator>crasspm</dc:creator><description>&lt;p&gt;The best I can tell even if I load the NS board I&amp;#39;m still building the SPM, where the error occurs.&amp;nbsp; You can see in &lt;a href="https://devzone.nordicsemi.com/members/jan-erik"&gt;Jan Erik&lt;/a&gt;&amp;#39;s post that the log says &amp;quot;Changed board to secure nrf9160dk_nrf9160 (NOT NS)&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After upgrading from 1.3.0-rc1 to 1.3.0 I get the error ModuleNotFoundError: No module named 'yaml'</title><link>https://devzone.nordicsemi.com/thread/255856?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 21:43:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67b79e4d-2afc-4a0a-81e8-25367f3a9f62</guid><dc:creator>crasspm</dc:creator><description>&lt;p&gt;Same!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>