"OverflowError: Python int too large to convert to C long" on windows but not mac
<p>I am running the exact same code on both windows and mac, with python 3.5 64 bit. </p>

<p>On windows, it looks like this:</p>

<pre><code>&gt;&gt;&gt; import numpy as np
&gt;&gt;&gt; preds = np.zeros((1, 3), dtype=int)
&gt;&gt;&gt; p = [6802256107, 5017549029, 3745804973]
&gt;&gt;&gt; preds[0] = p
Traceback (most recent call last):
  File "&lt;pyshell#13&gt;", line 1, in &lt;module&gt;
    preds[0] = p
OverflowError: Python int too large to convert to C long
</code></pre>

<p>However, this code works fine on my mac. Could anyone help explain why or give a solution for the code on windows? Thanks so much!</p>