Python error (pickle cant import struct)

pHilipp Zabel philipp.zabel at gmail.com
Wed Oct 17 12:30:42 CEST 2007


On 10/17/07, Lars Hallberg <lah at micropp.se> wrote:
> Trying to use pickle on python I get this error:
>
> Traceback (most recent call last):
>    File "3key.py", line 12, in <module>
>      import pickle
>    File "/usr/lib/python2.5/pickle.py", line 34, in <module>
>      import struct
> ImportError: No module named struct
>
> Probably missed install some package, but what package, this all come up
> empty:
>
> root at fic-gta01:~$ ipkg search struct.py
> root at fic-gta01:~$ ipkg search struct
> root at fic-gta01:~$ ipkg search struct.pyc
>
> Howewer, so do:
>
> ipkg search ping
>
> WISH LIST: Some of the python JSON modules would be nice!
>
> /LaH

Hm, isn't /usr/lib/python2.5/lib-dynload/struct.so part of python-core?

regards
Philipp



More information about the openmoko-devel mailing list