I am trying to generate random numbers in Python 2.7 on 64-bit Windows system through the following line of code:
random_state=numpy_rng.random_integers(1e10)
But I am getting the following error.
OverflowError: Python int too large to convert to C long.
with the following trace back rand_num_generator = numpy.random.RandomState(random_state) File "mtrand.pyx", line 618, in mtrand.RandomState.init (numpy\random\mtrand\mtrand.c:8275) File "mtrand.pyx", line 654, in mtrand.RandomState.seed (numpy\random\mtrand\mtrand.c:8670) ValueError: Seed must be between 0 and 4294967295