[OE-core] target python problems

Koen Kooi koen at dominion.thruhere.net
Wed Jul 13 11:07:37 UTC 2011


Hi,

After a recent update to python (the past week by the looks of it) python modules only install the .so files and not the .py and .pyo files anymore. This leads to breakge like this:

root at usrp-e1xx:~# opkg install python-dbus --force-reinstall
Removing package python-dbus from root...
Installing python-dbus (0.83.2-r0) to root...
Downloading http://feeds.angstrom-distribution.org/feeds/core/ipk/eglibc/armv7a/python/python-dbus_0.83.2-r0_armv7a.ipk.
Configuring python-dbus.

root at usrp-e1xx:~# systemd-analyze blame
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/systemd-analyze", line 3, in <module>
    import dbus, sys
ImportError: No module named dbus

Prior to the 'opkg upgrade' yesterday systemd-analyze blame was working properly

regards,

Koen



More information about the Openembedded-core mailing list