<?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>Install Python and pip?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23904/install-python-and-pip</link><description>Having great difficulty install Python and pip just to generate the keys for secure DFU. This seems like a greatly complex requirement just to be able to use this module. 
 
 
 I installed Python 2.7.11 
 
 
 I then clicked on the python application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jul 2017 13:10:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23904/install-python-and-pip" /><item><title>RE: Install Python and pip?</title><link>https://devzone.nordicsemi.com/thread/94070?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 13:10:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d86ab58e-97ec-474c-85eb-3330f3be4d68</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Many times I have to follow &lt;a href="https://pip.pypa.io/en/stable/installing/"&gt;this tutorial&lt;/a&gt; to run get-pip.py to be able to install pip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Install Python and pip?</title><link>https://devzone.nordicsemi.com/thread/94069?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 23:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39e530a3-4b61-453a-b1de-d7bec1173af2</guid><dc:creator>Bert</dc:creator><description>&lt;p&gt;Hi @Dave_coupling, when you install Python, pip should come with it. For example, in my installation of Python, pip is found @ /usr/local/lib/python2.7/site-packages/pip. Technically, from a command line, you can run&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;python /usr/local/lib/python2.7/site-packages/pip/__main.py
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;or just&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;pip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Depending on how your $PATH is setup. An OS agnostic way to find out where Python is installed would to open the Python executable you referenced above and try:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; import os
&amp;gt;&amp;gt;&amp;gt; import sys
&amp;gt;&amp;gt;&amp;gt; os.path.dirname(sys.executable)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Let me know how things go&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Install Python and pip?</title><link>https://devzone.nordicsemi.com/thread/94068?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 23:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb4fdd6b-d224-47db-851c-a4206966a875</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;I got this working finally, but its extremely un-intuitive and difficult.  Not sure worth the effort for the security feature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>