when i bitbake fsl-image-full ,the system :
........build_p2041rdb_release$ bitbake fsl-image-full
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/materia/code/sdk/linux/freescale/QorIQ/P2041/QorIQ-SDK-V1.3-20121114-yocto/bitbake/bin//bitbake", line 24, in <module>
import os
ImportError: No module named os
Pseudo is not present but is required, building this first before the main build
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/materia/code/sdk/linux/freescale/QorIQ/P2041/QorIQ-SDK-V1.3-20121114-yocto/bitbake/bin/bitbake", line 24, in <module>
import os
ImportError: No module named os
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/materia/code/sdk/linux/freescale/QorIQ/P2041/QorIQ-SDK-V1.3-20121114-yocto/bitbake/bin/bitbake", line 24, in <module>
import os
ImportError: No module named os
zhang@zhang-desktop:/opt/materia/code/sdk/linux/freescale/QorIQ/P2041/QorIQ-SDK-V1.3-20121114-yocto/build_p2041rdb_release$ bitbake fsl-image-full
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/materia/code/sdk/linux/freescale/QorIQ/P2041/QorIQ-SDK-V1.3-20121114-yocto/bitbake/bin//bitbake", line 24, in <module>
import os
ImportError: No module named os
Pseudo is not present but is required, building this first before the main build
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/materia/code/sdk/linux/freescale/QorIQ/P2041/QorIQ-SDK-V1.3-20121114-yocto/bitbake/bin/bitbake", line 24, in <module>
import os
ImportError: No module named os
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/opt/materia/code/sdk/linux/freescale/QorIQ/P2041/QorIQ-SDK-V1.3-20121114-yocto/bitbake/bin/bitbake", line 24, in <module>
import os
ImportError: No module named os
i don't know why?
Hello Zhang hao,
I have verified building QorIQ-SDK-V1.3-20121114-yocto on my Ubuntu 10.04 virtual machine, I can perform the building successfully, and didn't find your problem.
According to your error message, it seems that there is problem with python modules installation.
Did you execute the "scripts/host-prepare.sh" to deploy the host building environment before running "bitbake"?
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------