<?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 spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky-linux-gcc': No such file or directory in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076129#M157956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="348707" data-username="sreedhar.appalayagari@sony.com" href="https://community.nxp.com/people/sreedhar.appalayagari@sony.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;Sreedhar A&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;aarch64-poky-linux-gcc is&lt;/STRONG&gt; in your yocto project. You can move them to your board&amp;nbsp; and set them to your board's env.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Location: /tmp/sysroots-components/x86_64/gcc-cross-aarch64/usr/bin/aarch64-poky-linux/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhiming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2020 08:17:17 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2020-08-28T08:17:17Z</dc:date>
    <item>
      <title>python spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky-linux-gcc': No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076128#M157955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I am working with iMX8MM EVK and Yocto distribution 4.19.35 version&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Build Configuration:&lt;BR /&gt;BB_VERSION = "1.42.0"&lt;BR /&gt;BUILD_SYS = "x86_64-linux"&lt;BR /&gt;NATIVELSBSTRING = "ubuntu-16.04"&lt;BR /&gt;TARGET_SYS = "aarch64-poky-linux"&lt;BR /&gt;MACHINE = "imx8mmevk"&lt;BR /&gt;DISTRO = "fsl-imx-xwayland"&lt;BR /&gt;DISTRO_VERSION = "4.19-warrior"&lt;BR /&gt;TUNE_FEATURES = "aarch64"&lt;BR /&gt;TARGET_FPU = ""&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I tried to install the spidev module by executing the following command,&amp;nbsp;&lt;SPAN&gt;It throws the below error for 3.5 and 2.0 versions&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;root@imx8mmevk~#pip install spidev&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM&gt;Collecting spidev&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Using cached &lt;A href="https://files.pythonhosted.org/packages/62/56/de649e7d95f9fcfaf965a6eb937b4a46bc77ef21487c99cde1a7a0546040/spidev-3.5.tar.gz" target="test_blank"&gt;https://files.pythonhosted.org/packages/62/56/de649e7d95f9fcfaf965a6eb937b4a46bc77ef21487c99cde1a7a0546040/spidev-3.5.tar.gz&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Installing collected packages: spidev&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Running setup.py install for spidev: started&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Running setup.py install for spidev: finished with status 'error'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-viptTX/spidev/setup.py';f=getattr(tokenize, 'open', open)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; running install&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; running build&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; running build_ext&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; building 'spidev' extension&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; creating build&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; creating build/temp.linux-aarch64-2.7&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; aarch64-poky-linux-gcc -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; unable to execute 'aarch64-poky-linux-gcc': No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; error: command 'aarch64-poky-linux-gcc' failed with exit status 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;----------------------------------------&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-viptTX/spidev/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-OzSsDF/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-viptTX/spidev/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;===========================================================================================&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;root@imx8mmevk~#pip install spidev==2.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Collecting spidev==2.0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Using cached &lt;A href="https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz" target="test_blank"&gt;https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Installing collected packages: spidev&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Running setup.py install for spidev: started&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Running setup.py install for spidev: finished with status 'error'&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-tBBgAP/spidev/setup.py';f=getattr(tokenize, 'open', open)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; running install&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; running build&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; running build_ext&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; building 'spidev' extension&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; creating build&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; creating build/temp.linux-aarch64-2.7&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; aarch64-poky-linux-gcc -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/src/linux/include -I/&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; unable to execute 'aarch64-poky-linux-gcc': No such file or directory&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; error: command 'aarch64-poky-linux-gcc' failed with exit status 1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;----------------------------------------&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-tBBgAP/spidev/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-29Bk1L/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-tBBgAP/spidev/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=====================================================================================&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you please help to resolve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Sreedhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 07:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076128#M157955</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2020-08-28T07:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: python spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky-linux-gcc': No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076129#M157956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="348707" data-username="sreedhar.appalayagari@sony.com" href="https://community.nxp.com/people/sreedhar.appalayagari@sony.com" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: underline; font-size: 11.9994px;"&gt;Sreedhar A&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;aarch64-poky-linux-gcc is&lt;/STRONG&gt; in your yocto project. You can move them to your board&amp;nbsp; and set them to your board's env.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Location: /tmp/sysroots-components/x86_64/gcc-cross-aarch64/usr/bin/aarch64-poky-linux/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Zhiming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 08:17:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076129#M157956</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2020-08-28T08:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: python spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky-linux-gcc': No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076130#M157957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zhiming Liu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;I could locate the aarch64-poky-linux-gcc" in Yocto Build Project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;"aarch64-poky-linux-gcc is&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in your yocto project. You can move them to your board&amp;nbsp; and set them to your board's env."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Could you please share the steps to set into the board environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My board environment details:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;root@imx8mmevk:~# printenv&lt;BR /&gt;SSH_CONNECTION=::ffff:192.168.10.5 52319 ::ffff:192.168.10.5 22&lt;BR /&gt;TZ=UTC&lt;BR /&gt;EDITOR=vi&lt;BR /&gt;USER=root&lt;BR /&gt;PWD=/home/root&lt;BR /&gt;HOME=/home/root&lt;BR /&gt;SSH_CLIENT=::ffff:192.168.10.5 52319 22&lt;BR /&gt;SSH_TTY=/dev/pts/0&lt;BR /&gt;TERM=xterm&lt;BR /&gt;SHELL=/bin/sh&lt;BR /&gt;SHLVL=1&lt;BR /&gt;LOGNAME=root&lt;BR /&gt;XDG_RUNTIME_DIR=/run/user/0&lt;BR /&gt;PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin&lt;BR /&gt;PS1=\u@\h:\w\$&lt;BR /&gt;_=/bin/printenv&lt;BR /&gt;OLDPWD=/opt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Sreedhar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 08:37:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076130#M157957</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2020-08-28T08:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: python spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky-linux-gcc': No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076131#M157958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example,you copy the &lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;aarch64-poky-linux/ &lt;/STRONG&gt;&lt;/SPAN&gt;to the board's&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt; /opt&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;.Then vim the&lt;STRONG&gt; /etc/profile &lt;/STRONG&gt;and add '&lt;STRONG&gt;export&lt;/STRONG&gt; &lt;STRONG&gt;PATH=&lt;SPAN style="color: #4d4d4d; background-color: #ffffff; font-weight: 400;"&gt;&lt;STRONG&gt;$PATH:/opt/&lt;/STRONG&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;a&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;arch64-poky-linux&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;to the last line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;Remember&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; color: #4d4d4d;"&gt;&lt;STRONG&gt;source /etc/profile&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;'&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 09:19:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076131#M157958</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2020-08-28T09:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: python spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky-linux-gcc': No such file or directory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076132#M157959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Zhiming Liu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2020 12:13:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1076132#M157959</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2020-08-28T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: python spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1135225#M161080</link>
      <description>&lt;P&gt;Hi Zhiming Liu,&lt;/P&gt;&lt;P&gt;Thank you for the support. today i tried installing spidev module using pip command.&lt;/P&gt;&lt;P&gt;I am getting the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;root@imx8mmevk:~# pip install spidev==2.0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Collecting spidev==2.0&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Using cached &lt;A href="https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz" target="_blank"&gt;https://files.pythonhosted.org/packages/bf/59/ec1104f4b9d6b64873b8470121e89abf6a731ab9209151eb75e2bad810f6/spidev-2.0.tar.gz&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Installing collected packages: spidev&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Running setup.py install for spidev ... error&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-xmVwa3/spidev/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-olczUx/install-record.txt --single-version-externally-managed --compile:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;running install&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;running build&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;running build_ext&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;building 'spidev' extension&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;creating build&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;creating build/temp.linux-aarch64-2.7&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;aarch64-poky-linux-gcc -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/src/linux/include -I/usr/include/python2.7 -c spidev_module.c -o build/temp.linux-aarch64-2.7/spidev_module.o&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;unable to execute 'aarch64-poky-linux-gcc': &lt;STRONG&gt;Exec format error&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;EM&gt;error: command 'aarch64-poky-linux-gcc' failed with exit status 1&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;----------------------------------------&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-xmVwa3/spidev/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-olczUx/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-xmVwa3/spidev/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you, Sreedhar&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2020 12:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1135225#M161080</guid>
      <dc:creator>sreedhar_appala</dc:creator>
      <dc:date>2020-09-03T12:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: python spidev module can't install on iMX8MM EVK target, Error : unable to execute 'aarch64-poky</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1149948#M161378</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try to use the toolchains in python 2.7.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/tmp/work/aarch64-poky-linux/python/2.7.16-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/tmp/work/aarch64-poky-linux/python/2.7.16-r0/recipe-sysroot-native/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 02:38:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/python-spidev-module-can-t-install-on-iMX8MM-EVK-target-Error/m-p/1149948#M161378</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2020-09-08T02:38:59Z</dc:date>
    </item>
  </channel>
</rss>

