From: Laurent F. <lfr...@wo...> - 2006-08-11 04:01:42
|
Laurent FRANCOIS wrote: >Hye, > >Here is a very simple py file: > >---- >from pyPgSQL import PgSQL >---- > >$python testpgsql.py > >Traceback (most recent call last): > File "testpgsql.py", line 1, in ? > from pyPgSQL import PgSQL > File "/usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py", line 444, in ? > from mx import DateTime > File "/usr/lib/python2.3/site-packages/mx/DateTime/__init__.py", line >8, in ? > from DateTime import * > File "/usr/lib/python2.3/site-packages/mx/DateTime/DateTime.py", line >9, in ? > from mxDateTime import * > File >"/usr/lib/python2.3/site-packages/mx/DateTime/mxDateTime/__init__.py", >line 20, in ? > setnowapi(time.time) >AttributeError: 'module' object has no attribute 'time' > > >What's going on. > There is a time.py of my own. mv time.py testtime.py And everything goes right.... |