<?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中的主题 ImportError: No module named '_sqlite3'</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ImportError-No-module-named-sqlite3/m-p/957023#M142973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting up Yocto on my Ubuntu (Ubuntu 18.04.3 LTS/bionic) system, the command:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;~/poky/build$ bitbake core-image-sato&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results in this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;File "/usr/local/lib/python3.5/sqlite3/dbapi2.py", line 27, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt; from _sqlite3 import *&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;ImportError: No module named '_sqlit&lt;/EM&gt;e3'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below&amp;nbsp;is my effort to proceed past this error, which didn't resolve the error above.&amp;nbsp; Please be generous and provide some guidance.&amp;nbsp; I searched for relevant posting locations; any advice on a better place is appreciated.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A web search on this error () results in:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://smallbusiness.chron.com/use-sqlite-ubuntu-46774.html" title="https://smallbusiness.chron.com/use-sqlite-ubuntu-46774.html"&gt;How to Use SQLite in Ubuntu | Chron.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;~/poky/build$ sudo apt-get install sqlite3 libsqlite3-dev&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which tells me this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Reading package lists... Done&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Building dependency tree &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Reading state information... Done&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libsqlite3-dev is already the newest version (3.22.0-1ubuntu0.1).&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sqlite3 is already the newest version (3.22.0-1ubuntu0.1).&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;The following packages were automatically installed and are no longer required:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; linux-headers-5.0.0-23 linux-headers-5.0.0-23-generic linux-image-5.0.0-23-generic linux-modules-5.0.0-23-generic&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; linux-modules-extra-5.0.0-23-generic&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Use 'sudo apt autoremove' to remove them.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, evidently sqlite3 exists on my system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2019 15:47:03 GMT</pubDate>
    <dc:creator>benjamin_levy</dc:creator>
    <dc:date>2019-10-23T15:47:03Z</dc:date>
    <item>
      <title>ImportError: No module named '_sqlite3'</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ImportError-No-module-named-sqlite3/m-p/957023#M142973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting up Yocto on my Ubuntu (Ubuntu 18.04.3 LTS/bionic) system, the command:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;~/poky/build$ bitbake core-image-sato&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results in this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;File "/usr/local/lib/python3.5/sqlite3/dbapi2.py", line 27, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt; from _sqlite3 import *&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;EM&gt;ImportError: No module named '_sqlit&lt;/EM&gt;e3'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below&amp;nbsp;is my effort to proceed past this error, which didn't resolve the error above.&amp;nbsp; Please be generous and provide some guidance.&amp;nbsp; I searched for relevant posting locations; any advice on a better place is appreciated.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A web search on this error () results in:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://smallbusiness.chron.com/use-sqlite-ubuntu-46774.html" title="https://smallbusiness.chron.com/use-sqlite-ubuntu-46774.html"&gt;How to Use SQLite in Ubuntu | Chron.com&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;~/poky/build$ sudo apt-get install sqlite3 libsqlite3-dev&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which tells me this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Reading package lists... Done&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Building dependency tree &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Reading state information... Done&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;libsqlite3-dev is already the newest version (3.22.0-1ubuntu0.1).&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;sqlite3 is already the newest version (3.22.0-1ubuntu0.1).&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;The following packages were automatically installed and are no longer required:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; linux-headers-5.0.0-23 linux-headers-5.0.0-23-generic linux-image-5.0.0-23-generic linux-modules-5.0.0-23-generic&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt; linux-modules-extra-5.0.0-23-generic&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Use 'sudo apt autoremove' to remove them.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, evidently sqlite3 exists on my system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 15:47:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ImportError-No-module-named-sqlite3/m-p/957023#M142973</guid>
      <dc:creator>benjamin_levy</dc:creator>
      <dc:date>2019-10-23T15:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named '_sqlite3'</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ImportError-No-module-named-sqlite3/m-p/957024#M142974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Benjamin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need python 3.6 to install sqlite3, in yocto you have python 3.4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 18:16:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ImportError-No-module-named-sqlite3/m-p/957024#M142974</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2019-10-23T18:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named '_sqlite3'</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ImportError-No-module-named-sqlite3/m-p/957025#M142975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have Python3.6 installed in /usr/bin/ as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lrwxrwxrwx 1 root root       9 Oct  7 05:43 python3 -&amp;gt; python3.6&lt;/P&gt;&lt;P&gt;-rwxr-xr-x 2 root root 4526456 Oct  7 08:59 python3.6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python3.6 is required for Ubuntu 18.04 (my version), as I read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using which python3 points to the 3.5 version in /usr/local/bin/ as...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lrwxrwxrwx 1 root root        9 Oct  7 14:27 python3 -&amp;gt; python3.5&lt;/P&gt;&lt;P&gt;-rwxr-xr-x 2 root root 13280072 Oct  7 14:27 python3.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is clear that the symbolic link to 3.5 in /usr/local/bin/ supersedes the symbolic link to 3.6 in /usr/bin/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not being much of a Ubuntu user (yet), I don't know what to do.  Remove the link to 3.5?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BSL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 19:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ImportError-No-module-named-sqlite3/m-p/957025#M142975</guid>
      <dc:creator>benjamin_levy</dc:creator>
      <dc:date>2019-10-23T19:56:23Z</dc:date>
    </item>
  </channel>
</rss>

