<?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>Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18739/power-profiler-kit-ppk-py-is-not-starting-pyqtgraph-problem</link><description>I cannot start Power Profiler Kit software. I followed the installing instructions, but ended up with the following: 
 &amp;gt;python.exe ppk.py
Traceback (most recent call last):
 File &amp;quot;ppk.py&amp;quot;, line 19, in &amp;lt;module&amp;gt;
 missing = str(ie).split(&amp;quot;named &amp;quot;)[1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Mar 2018 17:19:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18739/power-profiler-kit-ppk-py-is-not-starting-pyqtgraph-problem" /><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/124443?ContentTypeID=1</link><pubDate>Wed, 14 Mar 2018 17:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:243c6051-1b8f-4234-abb0-8ba3ae037a89</guid><dc:creator>JeffW</dc:creator><description>&lt;p&gt;Incase someone stumbles upon this again:&lt;/p&gt;
&lt;p&gt;I was able to fix this problem by installing python 2.7.12 (x86), updating pip, uninstalling all python packages using this reference:&lt;br /&gt;&lt;a href="https://stackoverflow.com/a/40566052"&gt;https://stackoverflow.com/a/40566052&lt;/a&gt;&lt;br /&gt;Finally reinstalling the support packages in &amp;quot;python_packages.bat&amp;quot;&lt;br /&gt;This seemed to fix the problem!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72357?ContentTypeID=1</link><pubDate>Tue, 26 Sep 2017 12:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48963b0f-471a-4ee3-8cfa-24c6c6fd3f37</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I can confirm that I too had the same problem using Python 2.7.13. Uninstalling and installing 2.7.12 worked like a charm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72356?ContentTypeID=1</link><pubDate>Wed, 01 Feb 2017 12:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b32a00e-b55e-475b-a2c2-779a5b17fbb1</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;That is weird. Will look into it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72355?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2017 16:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b63654b5-9e66-4255-83bb-ced1686bc4e5</guid><dc:creator>PaulAnalog</dc:creator><description>&lt;p&gt;I also had a similar issue, but it seems like using Python 2.7.12 and NOT 2.7.13 worked better.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72354?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 11:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f86ba96e-dece-4f5c-ab7f-06706cc46067</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;This is before or after you installed the new python from USB stick ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72351?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 11:29:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a292b1c-3a29-48b4-814f-b34e117ad146</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Looks like that is not the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72353?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 11:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd875f6e-9cc0-4852-8685-1171f4cf70b0</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;It shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (
Intel)] on win32
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;gt;&amp;gt;&amp;gt; import platform
&amp;gt;&amp;gt;&amp;gt; print platform.architecture()[0]
32bit
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72350?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 11:26:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b90e83f-5f92-4341-8f36-64c6dcca37ce</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Jarmo: It could be related to what Wilhelmsen described below, please check.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72349?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 11:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ad05724-55a4-4e39-b7c0-0ebbb1c78bd2</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;But I got the system working. My colleague gave me another Python27 package in a USB-stick and ppk started to work with that installation. I don&amp;#39;t know what could be wrong with the first Python27 installation I had in my machine. Maybe it should have been removed entirely from my computer before updating to the version ppk was requiring.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72348?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 11:22:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00296490-e8f0-4477-8c62-e86ed76efb10</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;It shows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;C:\Python\nordic&amp;gt;python -m pip install pyqtgraph
        Requirement already satisfied: pyqtgraph in c:\python27\lib\site-packages
        Requirement already satisfied: numpy in c:\python27\lib\site-packages (from pyqt
        graph)
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72352?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 08:49:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb590a37-2349-42a0-9449-322602f31eb6</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;This happens when you are using 64bit python.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;DLL load failed: %1 is not a valid Win32 application&lt;/code&gt; comes from pynrfjprog, which tries to load the 32bit SEGGER DLL. When using a 64bit application, the DLL is not compatible and raises this error.&lt;/p&gt;
&lt;p&gt;To verify this, just run &lt;code&gt;python&lt;/code&gt; from a command line. My output is then as follows:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)] on win32
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I guess your&amp;#39;s will report 64 bit.&lt;/p&gt;
&lt;p&gt;Also, a small python script like this can help you determine what you are running&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import platform 
print platform.architecture()[0]
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Try uninstalling the current version you have, and make sure you download and install the 32bit version of Python 2 (&lt;a href="https://www.python.org/ftp/python/2.7.12/python-2.7.12.msi"&gt;link to x86 MSI installer&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72344?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 08:42:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8980cc0-9b34-4965-9458-7a9b60c6a598</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jarmo,
If you type &amp;quot;pip install pyqtgraph&amp;quot; what is on the screen ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72345?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 08:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf467b93-e6b9-4ff8-a09e-effd94312eb6</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;Maybe the Qt5 dll files are not in the path, what dll&amp;#39;s are pyqtgraph needing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72347?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 18:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f228ef2a-8ad3-4c2e-8893-463e1311d1ae</guid><dc:creator>Jarmo</dc:creator><description>&lt;p&gt;No, there is no issues, everything goes without errors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profiler Kit ppk.py is not starting: pyqtgraph problem</title><link>https://devzone.nordicsemi.com/thread/72346?ContentTypeID=1</link><pubDate>Tue, 03 Jan 2017 14:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f30e631d-bbdc-4d9e-ae3c-8fabbbc32b8f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jarmo,&lt;/p&gt;
&lt;p&gt;When you run python_packages.bat do you have any issue ? You may want to call it from a command line window so it won&amp;#39;t be closed after executed so you can see the log.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>