<?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>i.MX ProcessorsのトピックRe: OpenEmbedded Python Layer on i.MX8M Mini</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/OpenEmbedded-Python-Layer-on-i-MX8M-Mini/m-p/907400#M136801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try adding the below configuration on the local.con file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append = " python-smbus"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this could solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 May 2019 23:26:13 GMT</pubDate>
    <dc:creator>diegoadrian</dc:creator>
    <dc:date>2019-05-17T23:26:13Z</dc:date>
    <item>
      <title>OpenEmbedded Python Layer on i.MX8M Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OpenEmbedded-Python-Layer-on-i-MX8M-Mini/m-p/907399#M136800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use the smbus python module on the i.MX8M Mini Quad EVK. I'm using the fsl-image-validation image Yocto build. I have tried the python command import smbus from both python2 and python3 prompts, and it can't find it from either. When I try to install it with pip, I get the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Downloading &lt;A href="https://files.pythonhosted.org/packages/4d/5c/70e14aa4f0c586efc017e1d1aa6e)" target="test_blank"&gt;https://files.pythonhosted.org/packages/4d/5c/70e14aa4f0c586efc017e1d1aa6e)&lt;/A&gt;&lt;BR /&gt; 100% |################################| 112kB 1.2MB/s &lt;BR /&gt;Installing collected packages: smbus&lt;BR /&gt; Running setup.py install for smbus ... error&lt;BR /&gt; Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__fi:&lt;BR /&gt; running install&lt;BR /&gt; running build&lt;BR /&gt; running build_ext&lt;BR /&gt; building 'i2c' library&lt;BR /&gt; make: cc: Command not found&lt;BR /&gt; make: *** [lib/Module.mk:72: lib/smbus.o] Error 127&lt;BR /&gt; &lt;BR /&gt; building 'smbus' extension&lt;BR /&gt; creating build&lt;BR /&gt; creating build/temp.linux-aarch64-2.7&lt;BR /&gt; aarch64-poky-linux-gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -fPIC -I/usr/e&lt;BR /&gt; unable to execute 'aarch64-poky-linux-gcc': No such file or directory&lt;BR /&gt; error: command 'aarch64-poky-linux-gcc' failed with exit status 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,&amp;nbsp;it looks like&amp;nbsp;the open-embedded/meta-python layer, which includes smbus, is in my yocto project, which I thought would mean that the module would be installed for me:&lt;/P&gt;&lt;P&gt;$ bitbake-layers show-layers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Starting bitbake server...&lt;BR /&gt;layer path priority&lt;BR /&gt;==========================================================================&lt;BR /&gt;meta /home/daveo/imx-yocto-bsp/sources/poky/meta 5&lt;BR /&gt;meta-poky /home/daveo/imx-yocto-bsp/sources/poky/meta-poky 5&lt;BR /&gt;meta-oe /home/daveo/imx-yocto-bsp/sources/meta-openembedded/meta-oe 6&lt;BR /&gt;meta-multimedia /home/daveo/imx-yocto-bsp/sources/meta-openembedded/meta-multimedia 6&lt;BR /&gt;meta-freescale /home/daveo/imx-yocto-bsp/sources/meta-freescale 5&lt;BR /&gt;meta-freescale-3rdparty /home/daveo/imx-yocto-bsp/sources/meta-freescale-3rdparty 4&lt;BR /&gt;meta-freescale-distro /home/daveo/imx-yocto-bsp/sources/meta-freescale-distro 4&lt;BR /&gt;meta-bsp /home/daveo/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp 8&lt;BR /&gt;meta-sdk /home/daveo/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk 8&lt;BR /&gt;meta-browser /home/daveo/imx-yocto-bsp/sources/meta-browser 7&lt;BR /&gt;meta-gnome /home/daveo/imx-yocto-bsp/sources/meta-openembedded/meta-gnome 7&lt;BR /&gt;meta-networking /home/daveo/imx-yocto-bsp/sources/meta-openembedded/meta-networking 5&lt;BR /&gt;meta-python /home/daveo/imx-yocto-bsp/sources/meta-openembedded/meta-python 7&lt;BR /&gt;meta-filesystems /home/daveo/imx-yocto-bsp/sources/meta-openembedded/meta-filesystems 6&lt;BR /&gt;meta-qt5 /home/daveo/imx-yocto-bsp/sources/meta-qt5 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 20:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OpenEmbedded-Python-Layer-on-i-MX8M-Mini/m-p/907399#M136800</guid>
      <dc:creator>david_ochs1</dc:creator>
      <dc:date>2019-05-09T20:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: OpenEmbedded Python Layer on i.MX8M Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/OpenEmbedded-Python-Layer-on-i-MX8M-Mini/m-p/907400#M136801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please try adding the below configuration on the local.con file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL_append = " python-smbus"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this could solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2019 23:26:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/OpenEmbedded-Python-Layer-on-i-MX8M-Mini/m-p/907400#M136801</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-05-17T23:26:13Z</dc:date>
    </item>
  </channel>
</rss>

