Skip to contentSkip to conversation

yocto and linux mint 17.3

DISCUSSION idealsim 2 participants 4 messages Feb 4, 2016

lore
Share & tools
lore

idealsim

author
#0 lore raw

Up ! nobodies have an idea ?

Quoted 39 lines · Le Thu, 04 Feb 2016 13:08:00 +0100, a écrit:

Hi all, i'm new on yocto and i have a problem to start a buil with my host pc. My pc is under linux mint 17.3 (cinnamon) 64 bits. When i launch a bitbake, i >have this error :

ImportError: No module named pysqlite2
/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py:107: RuntimeWarning: Parent module 'bb' not found while handling absolute

Quoted 1 line

import

from bb.msg import BBLogFormatter
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py", line 107, in print_ui_queue from bb.msg import BBLogFormatter
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module> from bb import fetch2 as fetch
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in <module> import bb.persist_data, bb.utils
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in <module> from pysqlite2 import dbapi2 as sqlite3
ImportError: No module named pysqlite2
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/event.py", line 107, in print_ui_queue from bb.msg import BBLogFormatter
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/__init__.py", line 77, in <module> from bb import fetch2 as fetch
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/fetch2/__init__.py", line 37, in <module> import bb.persist_data, bb.utils
File "/home/mls/bin/fsl-release-bsp/sources/poky/bitbake/lib/bb/persist_data.py", line 35, in <module> from pysqlite2 import dbapi2 as sqlite3
ImportError: No module named pysqlite2

apparently bb can't import pysqlite2 ? I already install pip install
pysqlite libsqlite3-dev but nothing to solve my problem ... An idea to

Quoted 1 line

resolve this please ?

--Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/

Signature · 1 line
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
#1 lore raw
Quoted 4 lines · idealsim

apparently bb can't import pysqlite2 ? I already install pip install
pysqlite libsqlite3-dev but nothing to solve my problem ... An idea to resolve this please ?

Did that install a pysqlite for python 3? bitbake uses python2.

Ross

author
#2 lore raw

I don't think, probably install by default ! do you think i can remove python 3 to solve the problem ?

Quoted 9 lines · Ross
Quoted 3 lines · idealsim

apparently bb can't import pysqlite2 ? I already install pip install
pysqlite libsqlite3-dev but nothing to solve my problem ... An idea to

Quoted 1 line
Quoted 1 line

resolve this please ?

Did that install a pysqlite for python 3? bitbake uses python2.

Ross

Signature · 1 line
Utilisant le logiciel de courrier d'Opera : http://www.opera.com/mail/
#3 lore raw
Quoted 3 lines · idealsim

I don't think, probably install by default ! do you think i can remove python 3 to solve the problem ?

You can if you want, but there's no need. You just need to ensure the required libraries are available to python2.

Ross