[issue15066] make install error: ImportError: No module named _struct

Ned Deily report at bugs.python.org
Fri Jun 15 04:38:11 CEST 2012


Ned Deily <nad at acm.org> added the comment:

I have no experience with opensuse but, from a general unix install install view, the most obvious cause of that message would be a build failure of the _struct extension.  Check the log file for messages with _struct in it.  You could also try to check the paths and to import it in the build directory:

PYTHONPATH=/WORK/suzc/installed/python/lib/python2.7 \
 ./python -c 'import sys; print(sys.paths)'
PYTHONPATH=/WORK/suzc/installed/python/lib/python2.7 \
 ./python -c 'import _struct; print(_struct.__file__)'

----------
nosy: +ned.deily

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15066>
_______________________________________


More information about the Python-bugs-list mailing list