[Buildroot] Python standard library problems
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Sep 1 07:50:40 UTC 2011
Le Wed, 31 Aug 2011 10:17:23 -0400,
Pedro Sanchez <psanchez at fosstel.com> a écrit :
> Tested loading the Python modules of my application. Only one module
> fails to load now.
>
> $ python
> Python 2.7.1 (r271:86832, Aug 31 2011, 09:38:18)
> [GCC 4.5.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> import fcntl
> >>> import os
> >>> import sys
> >>> import signal
> >>> import socket
> >>> import time
> >>> import datetime
> >>> from collections import deque
> >>> from subprocess import Popen, PIPE
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/usr/lib/python2.7/subprocess.py", line 432, in <module>
> File "/usr/lib/python2.7/pickle.py", line 1266, in <module>
> ImportError: No module named binascii
Strange, I've built Python for ARM with the latest git, and importing
subprocess just works fine.
Could you post the complete build log somewhere (not to the list but on
some pastebin site) :
make clean
make 2>&1 | tee logfile
and then post logfile.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list