OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Bitbake Fails With No Bb Module, ImportError no module named bb
adf
post Apr 16 2005, 10:31 PM
Post #1





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



Traceback (most recent call last):
File "/usr/local/bin/bitbake", line 23, in ?
import bb


maybe this is really obvious, but I have no idea why I am gertting this error or how to fix it.

I'm on debian sid. the system standard python is 2.3. I changed the bitbake, bb** etc 1st lines from "python" to "python2.4" as suggested by the wiki, after I had been "getting cannot open conf/bitbake.conf errors" (I have had to rebuild my OE).

apparently the thing wants "bb" whci refers to..what? bitbake? a bbfiles dir? a module for interpreting bbfiles?

help? pointers? link to the undiscovered-by-me wikitopia from whose bourne no user returns uninformed?
Go to the top of the page
 
+Quote Post
Stubear
post Apr 17 2005, 01:02 AM
Post #2





Group: Members
Posts: 1,164
Joined: 17-December 03
From: Melbourne, AUSTRALIA
Member No.: 1,219



THe only way I could get bb to work was to install it into /usr/bin rather then /usr/local/bin. Not sure why this was but python on my system (Gentoo) wasn't able to find the bb pyhton module if it was installed in /usr/local

Try reinstalling bitbake with /usr as a prefix instead of /usr/local

Stu
Go to the top of the page
 
+Quote Post
adf
post Apr 17 2005, 01:06 AM
Post #3





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



thanks!
that is weird enough that it is probably eactly the solution smile.gif
will let you know tomorrow.
Go to the top of the page
 
+Quote Post
adf
post Apr 17 2005, 11:53 AM
Post #4





Group: Members
Posts: 2,821
Joined: 13-September 04
From: Wasilla Ak.
Member No.: 4,572



switched to not-instsalled mode. seems to work
Go to the top of the page
 
+Quote Post
willpost
post Jul 16 2005, 11:43 AM
Post #5





Group: Members
Posts: 1
Joined: 16-July 05
Member No.: 7,608



If you get an error about not being able to load the bb module you need to modify your PYTHONPATH variable.
To do this type
export PYTHONPATH=/usr/local/lib/python2.3/site-packages/:$PYTHONPATH
(Replace 2.3 with your version number)

http://www.nslu2-linux.org/wiki/OpenEmbedded/GettingStarted
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th August 2014 - 10:18 PM