<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RuntimeError: Bad magic number when installing NC API in Intel® Distribution of OpenVINO™ Toolkit</title>
    <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693132#M4296</link>
    <description>&lt;P&gt;Hi @fortiss, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I tried reproducing your issue on a couple existing systems (on which NCS worked well), and also made a fresh install on a clean Ubuntu 16.04 machine; all of these systems have python 3.5.2. The toolkit/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt; script installs python3, but it doesn't really specify a sub-version, I see that the package version for Ubuntu 16.04 is 3.5.1-3 (which is actually 3.5.2). Perhaps you manually installed python 3.5.3 on your machine? If so, can you please uninstall/purge it, run &lt;CODE&gt;sudo apt-get install python3 python3-pip&lt;/CODE&gt;, and then run ncapi/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt;? (you probably don't have to rerun toolkit/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt;)&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excerpt from toolkit/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;$SUDO_PREFIX apt-get $APT_QUIET install -y unzip coreutils curl git python3 python3-pip&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Let me know if above suggestion works, I am curious to know if the problem is due to the difference in subversion.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2017 07:50:27 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2017-08-01T07:50:27Z</dc:date>
    <item>
      <title>RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693130#M4294</link>
      <description>&lt;P&gt;The ./convert_models.sh step spits only that error. Python version is 3.5.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 21:45:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693130#M4294</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-07-31T21:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693131#M4295</link>
      <description>&lt;P&gt;Intel Graphics Driver causes my Windows 10 screen to frequently go black.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 00:48:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693131#M4295</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-01T00:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693132#M4296</link>
      <description>&lt;P&gt;Hi @fortiss, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;I tried reproducing your issue on a couple existing systems (on which NCS worked well), and also made a fresh install on a clean Ubuntu 16.04 machine; all of these systems have python 3.5.2. The toolkit/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt; script installs python3, but it doesn't really specify a sub-version, I see that the package version for Ubuntu 16.04 is 3.5.1-3 (which is actually 3.5.2). Perhaps you manually installed python 3.5.3 on your machine? If so, can you please uninstall/purge it, run &lt;CODE&gt;sudo apt-get install python3 python3-pip&lt;/CODE&gt;, and then run ncapi/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt;? (you probably don't have to rerun toolkit/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt;)&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Excerpt from toolkit/&lt;A href="http://setup.sh"&gt;setup.sh&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;$SUDO_PREFIX apt-get $APT_QUIET install -y unzip coreutils curl git python3 python3-pip&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: Let me know if above suggestion works, I am curious to know if the problem is due to the difference in subversion.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 07:50:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693132#M4296</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-01T07:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693133#M4297</link>
      <description>&lt;P&gt;It looks like python made a breaking change in 3.5.3 and updated the magic number.  &lt;A href="http://bugs.python.org/issue27286"&gt;http://bugs.python.org/issue27286&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 23:05:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693133#M4297</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-03T23:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693134#M4298</link>
      <description>&lt;P&gt;Hi @"Ashwin Vijayakumar",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I trying to install  sdk on Ubuntu 17.04 and have a similar problem because it uses python 3.5.3. It seems it will be easy to fix api build if I can rebuild mvNCCompile.pyc from source.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 08:37:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693134#M4298</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-04T08:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693135#M4299</link>
      <description>&lt;P&gt;@albor thanks for trying out the SDK on 17.04, I was building a fresh machine with 17.04 so I could test. The API and toolkit currently aren't OpenSouce, so can you please move to a 16.04 machine with 3.5.2?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2017 12:01:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693135#M4299</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-04T12:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693136#M4300</link>
      <description>&lt;P&gt;@AshwinVijayakumar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I downgraded to 16.04 and was able to run samples :). Unfortunately on 17.04 as far as I understand graphviz python wrapper is not "binding" with graphviz properly out of the box. That prevents movidius sdk setup even if magic number problem resolved.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Aug 2017 02:24:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693136#M4300</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-05T02:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693137#M4301</link>
      <description>&lt;CODE&gt;python3 ./mvNCCompile.pyc data/lenet8.prototxt -s 12
RuntimeError: Bad magic number in .pyc file
Makefile:21: recipe for target 'example00' failed
make: *** [example00] Error 1
&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Python 3.4.2 on BunsenLabs (Debian Jessie)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 17:41:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693137#M4301</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-24T17:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693138#M4302</link>
      <description>&lt;P&gt;@BQBQ Probably the difference between BunsenLabs and Ubuntu is causing this. Please try to use Ubuntu 16.04 (and Python 3.5.2 by default on it) as recommended in "Getting Started Guide" which is proven to run examples correctly.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2017 21:24:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693138#M4302</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-08-28T21:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693139#M4303</link>
      <description>&lt;P&gt;Would it be possible to get the non-cythoned version of the mvNCCompile script? It's possible to navigate around most other problems on non-Ubuntu systems (such as Debian / raspbian / ubilinux, etc), but this Python sub-version dependency essentially requires one to install Ubuntu in a chroot, which complicates deployment work quite a bit.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 19:20:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693139#M4303</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-09-18T19:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693140#M4304</link>
      <description>&lt;P&gt;@gekko Your concern is a valid and the SDK's dependency on Python 3.5.2 is an issue that we know about and one that we are looking into. &lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 23:19:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693140#M4304</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-09-18T23:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693141#M4305</link>
      <description>&lt;P&gt;So I would comment here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;A href="https://ncsforum.movidius.com/discussion/242/bad-magic-number-in-pyc-file"&gt;https://ncsforum.movidius.com/discussion/242/bad-magic-number-in-pyc-file&lt;/A&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;, but also getting the error while building the NCAPI via shell script. &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;CODE&gt;Saving to: ‘../images/cat.jpg’

cat.jpg             100%[===================&amp;gt;] 137.10K  --.-KB/s    in 0.03s   

Last-modified header missing -- time-stamps turned off.
2017-10-10 13:14:00 (4.90 MB/s) - ‘../images/cat.jpg’ saved [140391/140391]

../../bin
RuntimeError: Bad magic number in .pyc file
RuntimeError: Bad magic number in .pyc file
RuntimeError: Bad magic number in .pyc file
RuntimeError: Bad magic number in .pyc file
RuntimeError: Bad magic number in .pyc file
&lt;/CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 03:16:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693141#M4305</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-10-11T03:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: RuntimeError: Bad magic number when installing NC API</title>
      <link>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693142#M4306</link>
      <description>&lt;P&gt;@karl What python version are you using? Assuming this is with the 1.07.10 release, you can also give the newest release a try: &lt;A href="https://github.com/movidius/ncsdk/releases/tag/v1.09.00.06"&gt;https://github.com/movidius/ncsdk/releases/tag/v1.09.00.06&lt;/A&gt; and for more information: &lt;A href="https://ncsforum.movidius.com/discussion/98/latest-version-movidius-neural-compute-sdk#latest"&gt;https://ncsforum.movidius.com/discussion/98/latest-version-movidius-neural-compute-sdk#latest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2017 23:50:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Distribution-of-OpenVINO/RuntimeError-Bad-magic-number-when-installing-NC-API/m-p/693142#M4306</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2017-10-11T23:50:20Z</dc:date>
    </item>
  </channel>
</rss>

