[Numpy-discussion] Having trouble installing Numpy on OS X
Nat Wilson
njwilson23@gmail....
Sat Jan 24 17:58:41 CST 2009
Ah, no, I can't import it.
What does this mean? As far as I know, I built Python as instructed.
Python 2.6.1 (r261:67515, Jan 24 2009, 16:08:37)
[GCC 4.0.0 20041026 (Apple Computer, Inc. build 4061)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from random import Random as _Random
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/random.py", line 871, in <module>
_inst = Random()
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/random.py", line 96, in __init__
self.seed(x)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/random.py", line 115, in seed
super(Random, self).seed(a)
SystemError: error return without exception set
Nat
On Jan 24, 2009, at 6:09 PM, Robert Kern wrote:
> On Sat, Jan 24, 2009 at 12:34, Nat Wilson <njwilson23@gmail.com>
> wrote:
>> Would anyone be willing to help me interpret an error while trying to
>> build and install Numpy? I've searched around, and haven't seen this
>> elsewhere.
>
>> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
>> python2.6/tempfile.py", line 34, in <module>
>> from random import Random as _Random
>> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
>> python2.6/random.py", line 871, in <module>
>> _inst = Random()
>> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
>> python2.6/random.py", line 96, in __init__
>> self.seed(x)
>> File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
>> python2.6/random.py", line 115, in seed
>> super(Random, self).seed(a)
>> SystemError: error return without exception set
>>
>> Any ideas?
>
> It looks unrelated to numpy. Can you import the random module in other
> situations?
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
> -- Umberto Eco
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
More information about the Numpy-discussion
mailing list