<?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>New nRF9160 DK, and I&amp;#39;m unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54785/new-nrf9160-dk-and-i-m-unable-to-create-the-build-environment-and-open-the-application-sample-in-segger</link><description>I followed the issues from https://devzone.nordicsemi.com/f/nordic-q-a/54149/error-by-loading-solution-on-ses, which fixed the zephyr script issues, but was seeing the same problems at the end of this discussion. 
 I installed branch v1.1, as per the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Nov 2019 22:53:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54785/new-nrf9160-dk-and-i-m-unable-to-create-the-build-environment-and-open-the-application-sample-in-segger" /><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/222467?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 22:53:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0b47104-1391-4c12-aea4-5ac06ed05cd3</guid><dc:creator>Simon</dc:creator><description>[quote user="jkase"]I copied the six.py and the dist directory over to the ~/Library/Python/3.7/lib/python/site-package directory, and SES can now open the project![/quote]
&lt;p&gt;I would recommend you to only have one Python/3.7 folder or&amp;nbsp;only include the path to&amp;nbsp;&lt;em&gt;/Library/Python/3.7&amp;nbsp;&lt;/em&gt;into your system variables, such that when you&amp;nbsp;use the commands &lt;em&gt;pip3&lt;/em&gt; and &lt;em&gt;west &lt;/em&gt;it will run from&amp;nbsp;&lt;em&gt;/Library/Python/3.7&lt;/em&gt;&lt;em&gt;. &lt;/em&gt;Then when you use SES, it will find the packages.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="jkase"]The resulting presentation of code is very different from what I&amp;#39;m used to with SES 4.18.&amp;nbsp; Also, the opening screen indicates that there&amp;#39;s a newer version of SES available (4.30b).&amp;nbsp; When I download that version, it finds the License key from the 4.18 version and seems &amp;quot;normal&amp;quot; -- however, it does NOT have the Open nRF Connect SDK Project menu item.[/quote]
&lt;p&gt;I suspect that you are using the original version of SES. Not the Nordic Edition. Take a look at the cases below for clarity:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53868/no-bin-emstudio-for-segger-embedded-studio/217766#217766"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/53868/no-bin-emstudio-for-segger-embedded-studio/217766#217766&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52976/issue-with-nrf-connect-getting-started-and-embedded-studio/214018#214018"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52976/issue-with-nrf-connect-getting-started-and-embedded-studio/214018#214018&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/222450?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 18:37:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb2639dd-b49a-439f-9c82-2bf23f83aecd</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;I copied the six.py and the dist directory over to the ~/Library/Python/3.7/lib/python/site-package directory, and SES can now open the project!&lt;/p&gt;
&lt;p&gt;The resulting presentation of code is very different from what I&amp;#39;m used to with SES 4.18.&amp;nbsp; Also, the opening screen indicates that there&amp;#39;s a newer version of SES available (4.30b).&amp;nbsp; When I download that version, it finds the License key from the 4.18 version and seems &amp;quot;normal&amp;quot; -- however, it does NOT have the Open nRF Connect SDK Project menu item.&lt;/p&gt;
&lt;p&gt;So, is this menu option available in the SES 4.18 or 4.30b versions?&amp;nbsp; Does development of this product require a non-standard version of SES?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;--jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/222421?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 15:14:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b2853f-078e-4898-9c80-b227bfa9c49d</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;Yes, I&amp;#39;m using the latest version.&lt;/p&gt;
&lt;p&gt;when I re-run pip3 install west, the output says:&lt;/p&gt;
&lt;p&gt;Requirement already satisfied: six in /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages (from configobj-&amp;gt;west) (1.12.0)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a long time Xcode developer, so it makes sense that there&amp;#39;s python in the Xcode toolchain.&lt;/p&gt;
&lt;p&gt;As part of this installation, there is also a python 3.7 installation in&lt;/p&gt;
&lt;pre&gt;/Users/jeffkase/Library/Python/3.7/lib/python/site-package&lt;/pre&gt;
&lt;p&gt;And, that may be where SES is looking for six (it doesn&amp;#39;t exist in that location).&lt;/p&gt;
&lt;p&gt;What path does python use for finding scripts/tools?&lt;/p&gt;
&lt;p&gt;--jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/222405?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 14:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce2339c6-d602-446a-91d2-ea464633c08f</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I did not see your first comment on this post, my apologies for that. But I&amp;#39;ll try to address your inquiries.&lt;/p&gt;
[quote user="jkase"]I get that this is a very new product, and that we&amp;#39;re on the bleeding edge, here.&amp;nbsp; But, this is one of the worst out of the box experiences I&amp;#39;ve had in 35 years of programming.[/quote]
&lt;p&gt;I am really sorry you feel this way, but I will make sure, step by step, that you get NCS up and running. Then we can look at the problems you&amp;#39;ve met along the way, and see if there is any way the Getting Started guide can be improved to avoid this in the future.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="jkase"]Also, let&amp;#39;s not lose track of the license key that has to be re-installed every time I open the newer version of SES.[/quote]
&lt;p&gt;Could you create a new case where you address this? Then we can keep it more organized and focus on getting NCS up and running in this thread.&lt;/p&gt;
[quote user="jkase"]If you have a macOS system, I&amp;#39;d be happy starting over with the installation process if there was an accurate set of steps that would solve these issues.[/quote]
&lt;p&gt;I don&amp;#39;t have a mac at hand at the moment, but I don&amp;#39;t think I necessarily need it for your specific issues. If we meet a wall, I&amp;#39;ll get hold of one.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="jkase"]Still no luck.&amp;nbsp; Same error modal, with the same error log, re. &amp;quot;import six&amp;quot;.[/quote]
&lt;p&gt;&amp;nbsp;This module should be installed when calling&amp;nbsp;&lt;em&gt;pip3 install west&lt;/em&gt;. Try running it again and see if that solves your issues.&lt;/p&gt;
&lt;p&gt;I think it is strange that you are getting that many errors along the way. Are you following the newest version of the Getting Started App in &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Connect-for-desktop"&gt;nRF Connect for Desktop&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/222126?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 14:05:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967358fa-b97a-497d-a3e9-decd0d102e51</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;Still no luck.&amp;nbsp; Same error modal, with the same error log, re. &amp;quot;import six&amp;quot;.&lt;/p&gt;
&lt;p&gt;The git checkout master had failed, so I started with a fresh ncs installation, including the script updates.&lt;/p&gt;
&lt;p&gt;The zephyr script had the following error, but did not indicate failure:&lt;/p&gt;
&lt;p&gt;Requirement already satisfied: cffi&amp;gt;=1.6.0 in /Users/jeffkase/Library/Python/3.7/lib/python/site-packages (from milksnake&amp;gt;=0.1.2-&amp;gt;cmsis-pack-manager&amp;gt;=0.2.7-&amp;gt;pyocd==0.21.0-&amp;gt;-r zephyr/scripts/requirements.txt (line 15)) (1.13.2)&lt;br /&gt;Requirement already satisfied: pycparser in /Users/jeffkase/Library/Python/3.7/lib/python/site-packages (from cffi&amp;gt;=1.6.0-&amp;gt;milksnake&amp;gt;=0.1.2-&amp;gt;cmsis-pack-manager&amp;gt;=0.2.7-&amp;gt;pyocd==0.21.0-&amp;gt;-r zephyr/scripts/requirements.txt (line 15)) (2.19)&lt;br /&gt;&lt;strong&gt;pyocd 0.21.0 has requirement pyyaml&amp;lt;6.0,&amp;gt;=5.1, but you&amp;#39;ll have pyyaml 4.2b4 which is incompatible.&lt;/strong&gt;&lt;br /&gt;Installing collected packages: pyocd&lt;br /&gt;&amp;nbsp; Found existing installation: pyocd 0.19.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Uninstalling pyocd-0.19.0:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Successfully uninstalled pyocd-0.19.0&lt;br /&gt;Successfully installed pyocd-0.21.0&lt;/p&gt;
&lt;p&gt;--jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/222020?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 09:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc4fbf51-8e7b-4ec2-87dd-474a882d445e</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Open the command line in &lt;em&gt;&amp;lt;..&amp;gt;/ncs/nrf&lt;/em&gt; and type in these commands:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;git checkout master

git pull

git checkout v1.1.0

west update&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then delete the build folder and try to build the example again.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/221974?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 03:38:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c5a2483-388d-46d8-a14a-c160c56bb0d5</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;Here is the error log from SES:&lt;/p&gt;
&lt;pre&gt;Loading solution asset_tracker.emProject
Executing load commands
/usr/local/bin/cmake -GNinja -DBOARD=nrf9160_pca10090ns -DBOARD_DIR=/Volumes/SilentOne/Nordic/ncs/zephyr/boards/arm/nrf9160_pca10090 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=/opt/gnuarmemb -B/Volumes/SilentOne/Nordic/ncs/nrf/applications/asset_tracker/build_nrf9160_pca10090ns -H/Volumes/SilentOne/Nordic/ncs/nrf/applications/asset_tracker -DPYTHON_EXECUTABLE=/usr/local/bin/python3 -DCMAKE_MAKE_PROGRAM=/usr/local/bin/ninja -DDTC=/usr/local/bin/dtc -D WEST=~/Library/Python/3.7/bin/west -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=/Applications/arm_segger_embedded_studio_v420a_macos_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from &amp;#39;/Volumes/SilentOne/Nordic/ncs/nrf/applications/asset_tracker&amp;#39;
Zephyr version: 1.14.99
-- Selected BOARD nrf9160_pca10090ns
-- Found west: /Users/jeffkase/Library/Python/3.7/bin/west (found suitable version &amp;quot;0.6.3&amp;quot;, minimum required is &amp;quot;0.5.6&amp;quot;)
CMake Error at /Volumes/SilentOne/Nordic/ncs/zephyr/cmake/zephyr_module.cmake:45 (message):
  Traceback (most recent call last):

    File &amp;quot;/Volumes/SilentOne/Nordic/ncs/zephyr/scripts/zephyr_module.py&amp;quot;, line 19, in 
      import pykwalify.core
    File &amp;quot;/Users/jeffkase/Library/Python/3.7/lib/python/site-packages/pykwalify/core.py&amp;quot;, line 25, in 
      from dateutil.parser import parse
    File &amp;quot;/Users/jeffkase/Library/Python/3.7/lib/python/site-packages/dateutil/parser/__init__.py&amp;quot;, line 2, in 
      from ._parser import parse, parser, parserinfo, ParserError
    File &amp;quot;/Users/jeffkase/Library/Python/3.7/lib/python/site-packages/dateutil/parser/_parser.py&amp;quot;, line 42, in 
      import six

  ModuleNotFoundError: No module named &amp;#39;six&amp;#39;

Call Stack (most recent call first):
  /Volumes/SilentOne/Nordic/ncs/zephyr/cmake/app/boilerplate.cmake:252 (include)
  CMakeLists.txt:11 (include)


-- Configuring incomplete, errors occurred!
Project load failed
Reported error: solution load command failed (1)
&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/221972?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 03:34:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7594016a-bcac-444b-9754-61e474d93467</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;Just on a whim, I tried again to run the &amp;quot;pip3 install --user -r nrf/scripts/requirements.txt&amp;quot; command -- which succeeded!&amp;nbsp; In the process, it install pygit2.&amp;nbsp; The third pip3 installation also worked.&amp;nbsp; That&amp;#39;s the good news.&lt;/p&gt;
&lt;p&gt;However, after launching SES 4.20a (and acquiring and installing yet another free license), Open nRF Connect SDK Project failed again.&amp;nbsp; The error list is quite long:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2019_2D00_11_2D00_25-at-10.26.06-PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;and then:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2019_2D00_11_2D00_25-at-10.26.22-PM.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So, still no luck opening the samples.&lt;/p&gt;
&lt;p&gt;--jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/221971?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2019 03:10:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a63b8702-9cee-4536-95d0-fa17ab0b8eb0</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;I followed your link, which took me to the page for installing the two tools on a unix system.&amp;nbsp; I found a link for installing on macOS, which involved installing libgit2, then pygit2.&amp;nbsp; The first step worked fine:&lt;/p&gt;
&lt;pre&gt;brew install libgit2&lt;br /&gt;&lt;br /&gt;The second step, for installing pygit2 with:&lt;br /&gt;&lt;br /&gt;pip3 install pygit2&lt;/pre&gt;
&lt;p&gt;leads to an error:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Installing collected packages: pygit2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: &amp;#39;/Library/Python/3.7&amp;#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Consider using the `--user` option or check the permissions.&lt;/p&gt;
&lt;p&gt;Python 3.7 is not installed on my system, although Python 2.7 was installed as part of the multi-step process of installing the tools for your product.&lt;/p&gt;
&lt;p&gt;Any other guesses on how to install the tools on my system, which is running macOS Catalina 10.15.1?&lt;/p&gt;
&lt;p&gt;I get that this is a very new product, and that we&amp;#39;re on the bleeding edge, here.&amp;nbsp; But, this is one of the worst out of the box experiences I&amp;#39;ve had in 35 years of programming.&amp;nbsp; We have customers that want to purchase your products, assuming we can integrate our software solution.&amp;nbsp; First, it would be great to be able to build the sample code from your SDK.&lt;/p&gt;
&lt;p&gt;Also, let&amp;#39;s not lose track of the license key that has to be re-installed every time I open the newer version of SES.&amp;nbsp; I&amp;#39;ve been using the SEGGER Embedded Studio for ARM 4.18 with our nRF52840 DK and Dongles.&amp;nbsp; It was necessary to install the SEGGER Embedded Studio for ARM 4.20a, since the previous version did not have the Open nRF Connect SDK Project menu item.&amp;nbsp; I currently have both installed, and likely there&amp;#39;s a conflict.&amp;nbsp; Will one version suffice for both development efforts?&lt;/p&gt;
&lt;p&gt;If you have a macOS system, I&amp;#39;d be happy starting over with the installation process if there was an accurate set of steps that would solve these issues.&lt;/p&gt;
&lt;p&gt;Thanks, again.&lt;/p&gt;
&lt;p&gt;--jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: New nRF9160 DK, and I'm unable to create the build environment and open the application sample in Segger.</title><link>https://devzone.nordicsemi.com/thread/221951?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2019 22:43:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b84867a1-d1d8-4b45-905d-5085b5a9f134</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Try&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.pygit2.org/install.html#installing-on-os-x"&gt;installing pygit2&lt;/a&gt;, as explained&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/aspiers/git-deps/issues/85"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>