"time" module under AIX?

marco marco at reimeika.ca
Sat Sep 21 23:34:55 EDT 2002


I've just compiled python 2.2.1 under AIX and all seemed
to go well. However, I'm having some trouble importing
a few modules such as "time" and "math" e.g.

coxeter% python2                                            </home/marco> 23:11
Python 2.2.1 (#1, Sep 21 2002, 22:32:45) [C] on aix4
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named time

Other modules import fine. Compilation appeared to go well, for example:

building 'time' extension
cc_r -DNDEBUG -O -I. -I/usr/local/src2/marco/Python-2.2.1/./Include -I/usr/local
/include -IInclude/ -c /usr/local/src2/marco/Python-2.2.1/Modules/timemodule.c -
o build/temp.aix-4.3-2.2/timemodule.o
./Modules/ld_so_aix cc_r -bI:Modules/python.exp build/temp.aix-4.3-2.2/timemodul
e.o -L/usr/local/lib -lm -o build/lib.aix-4.3-2.2/time.so
building 'operator' extension

Any ideas? I'm using AIX 4.3.


marco at reimeika.ca
Gunnm: Broken Angel

More information about the Python-list mailing list