<?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 Install python-opencv module in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Install-python-opencv-module/m-p/678321#M104693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got imx Yocto image with python &amp;amp; opencv installed. I'd like to use opencv within python so I need to include opencv module.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;root@imx6qpsabreauto:/# python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Python 2.7.12 (default, Apr&amp;nbsp; 7 2017, 11:56:02)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;[GCC 6.2.0] on linux2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;gt;&amp;gt;&amp;gt; import cv2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;ImportError: No module named cv2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;II did try to isntall but with no success&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;root@imx6qpsabreauto:/# pip install opencv-python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Collecting opencv-python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29ea10&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29e990&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29e0d0&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29ebd0&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29ed50&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Could not find a version that satisfies the requirement opencv-python (from versions: )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;No matching distribution found for opencv-python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;How do I install python-opencv module? I don't want to build the image again because of this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 May 2017 10:27:12 GMT</pubDate>
    <dc:creator>erikraynolds</dc:creator>
    <dc:date>2017-05-13T10:27:12Z</dc:date>
    <item>
      <title>Install python-opencv module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Install-python-opencv-module/m-p/678321#M104693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got imx Yocto image with python &amp;amp; opencv installed. I'd like to use opencv within python so I need to include opencv module.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;root@imx6qpsabreauto:/# python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Python 2.7.12 (default, Apr&amp;nbsp; 7 2017, 11:56:02)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;[GCC 6.2.0] on linux2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;gt;&amp;gt;&amp;gt; import cv2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;ImportError: No module named cv2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;II did try to isntall but with no success&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;root@imx6qpsabreauto:/# pip install opencv-python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;Collecting opencv-python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29ea10&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29e990&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29e0d0&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29ebd0&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('&amp;lt;pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c29ed50&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/opencv-python/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;&amp;nbsp; Could not find a version that satisfies the requirement opencv-python (from versions: )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;No matching distribution found for opencv-python&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt;"&gt;How do I install python-opencv module? I don't want to build the image again because of this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 May 2017 10:27:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Install-python-opencv-module/m-p/678321#M104693</guid>
      <dc:creator>erikraynolds</dc:creator>
      <dc:date>2017-05-13T10:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Install python-opencv module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Install-python-opencv-module/m-p/678322#M104694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Erik Raynolds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may add the opencv module to your image by adding the following line to your local.conf file:&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append += "opencv"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand you would prefer not to build the image again, however, if you already have built the image and just add a package all previously compiled packages remain so it should be much faster than the first time you baked the image.&lt;/P&gt;&lt;P&gt;If pip is installed on your image you may also use it to install modules. You may add pip by using the yocto packages python-pip or python3-pip depending on which version of python you are using but I’m afraid you would need to build the image to add it this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies for the inconvenience. I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 20:03:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Install-python-opencv-module/m-p/678322#M104694</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2017-05-15T20:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Install python-opencv module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Install-python-opencv-module/m-p/678323#M104695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds interesting .. but adding&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;IMAGE_INSTALL_append += "opencv" is python-opncv module not added there must other trick to do it...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 11:07:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Install-python-opencv-module/m-p/678323#M104695</guid>
      <dc:creator>erikraynolds</dc:creator>
      <dc:date>2017-05-19T11:07:06Z</dc:date>
    </item>
  </channel>
</rss>

