Import random

Daniel Pote daniel.pote at xms.se
Wed Dec 12 04:37:33 EST 2001


Hi,

Just joined this group after trying to compile mailman on HP-UX 11.00.
It seems to be something wrong when trying to import random.

Compiling /opt/mailman/Mailman/versions.py ...
Traceback (most recent call last):
  File "bin/update", line 31, in ?
    from Mailman import Utils
  File "/opt/mailman/Mailman/Utils.py", line 32, in ?
    import random
  File "/opt/python/lib/python2.1/random.py", line 93, in ?
    _verify('NV_MAGICCONST', 1.71552776992141)
  File "/opt/python/lib/python2.1/random.py", line 88, in _verify
    raise ValueError(
ValueError: computed value for NV_MAGICCONST deviates too much (computed 0, expe
cted 1.10415e+09)

Same result if i run python and types: import random

Can anyone help me on this ?

I have installed python 2.1 package from hpux.connect.org.uk

/Daniel







More information about the Python-list mailing list