<?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: Python OpenCV installation error in NavQ 8MMNavQ Discussion</title>
    <link>https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Python-OpenCV-installation-error/m-p/1252109#M52</link>
    <description>&lt;P&gt;I believe you need to update setuptools as well.&lt;/P&gt;&lt;P&gt;pip3 install -U setuptools pip&lt;/P&gt;</description>
    <pubDate>Thu, 25 Mar 2021 10:58:51 GMT</pubDate>
    <dc:creator>Æ-OpticalAntenna</dc:creator>
    <dc:date>2021-03-25T10:58:51Z</dc:date>
    <item>
      <title>Python OpenCV installation error</title>
      <link>https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Python-OpenCV-installation-error/m-p/1159750#M29</link>
      <description>&lt;P&gt;I am trying to install OpenCV package for Python on my &lt;U&gt;&lt;STRONG&gt;8MM NavQ Computer&lt;/STRONG&gt;&lt;/U&gt; using pip package installer.&lt;/P&gt;&lt;P&gt;I am facing the following error:&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times"&gt;Defaulting to user installation because normal site-packages is not writeable&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Collecting opencv-python&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Using cached opencv-python-4.4.0.44.tar.gz (88.9 MB)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Installing build dependencies ... done&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Getting requirements to build wheel ... done&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Preparing wheel metadata ... done&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Requirement already satisfied: numpy&amp;gt;=1.17.3 in ./.local/lib/python3.8/site-packages (from opencv-python) (1.19.2)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Building wheels for collected packages: opencv-python&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times"&gt;Building wheel for opencv-python (PEP 517) ... error&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;ERROR: Command errored out with exit status 1:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;command: /usr/bin/python3 /home/navq/.local/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpr36bqijd&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;cwd: /tmp/pip-install-8_6xonp2/opencv-python&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;Complete output (9 lines):&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;File "/tmp/pip-build-env-sycby3dp/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 560, in setup&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;cmkr = cmaker.CMaker(cmake_executable)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;File "/tmp/pip-build-env-sycby3dp/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 95, in __init__&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;self.cmake_version = get_cmake_version(self.cmake_executable)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;File "/tmp/pip-build-env-sycby3dp/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 81, in get_cmake_version&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;raise SKBuildError(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;Traceback (most recent call last):&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;Problem with the CMake installation, aborting build. CMake executable is cmake&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;----------------------------------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;ERROR: Failed building wheel for opencv-python&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;Failed to build opencv-python&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="andale mono,times" color="#FF0000"&gt;ERROR: Could not build wheels for opencv-python which use PEP 517 and cannot be installed directly&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;I am having python 3.8.2 with Linux Ubuntu 20.04.1 LTS.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;Command used : pip3 install opencv-python&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;I have tried to solve the issue with all possible solutions but still the issue is not resolved. Please help&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" color="#000000"&gt;&amp;nbsp;me out.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 16:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Python-OpenCV-installation-error/m-p/1159750#M29</guid>
      <dc:creator>nilutpol_k</dc:creator>
      <dc:date>2020-09-27T16:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Python OpenCV installation error</title>
      <link>https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Python-OpenCV-installation-error/m-p/1159783#M30</link>
      <description>&lt;P&gt;Use this to install:&amp;nbsp;&lt;SPAN&gt;sudo apt install python3-opencv&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 01:39:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Python-OpenCV-installation-error/m-p/1159783#M30</guid>
      <dc:creator>yokonav</dc:creator>
      <dc:date>2020-09-28T01:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Python OpenCV installation error</title>
      <link>https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Python-OpenCV-installation-error/m-p/1252109#M52</link>
      <description>&lt;P&gt;I believe you need to update setuptools as well.&lt;/P&gt;&lt;P&gt;pip3 install -U setuptools pip&lt;/P&gt;</description>
      <pubDate>Thu, 25 Mar 2021 10:58:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NavQ-8MMNavQ-Discussion/Python-OpenCV-installation-error/m-p/1252109#M52</guid>
      <dc:creator>Æ-OpticalAntenna</dc:creator>
      <dc:date>2021-03-25T10:58:51Z</dc:date>
    </item>
  </channel>
</rss>

