Python 2.2.1 vs. gcc 3.1?

Skip Montanaro skip at pobox.com
Fri Jun 7 20:29:43 CEST 2002


    $ ./python
    Python 2.2.1 (#4, Jun  7 2002, 13:24:38) 
    [GCC 3.1] on sunos5
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import struct
    Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    ImportError: No module named struct

    Andrew> To what would it have renamed struct.so?

Dunno.  Try "find . -name 'struct*'.  It should be in your build/lib*
directory (where "*" matches your configuration name).

S





More information about the Python-list mailing list