[Numpy-discussion] The baffling behavior that just won't die

Pauli Virtanen pav at iki.fi
Mon Jul 6 03:33:58 EDT 2009


Sun, 05 Jul 2009 20:27:02 -0700, d_l_goldsmith kirjoitti:
[clip]
> c:\Python25\Lib\site-packages\numpy>python

Just don't run Python inside Numpy's package directory. This is not Numpy-
specific: doing a thing like that just breaks relative imports.

Also, Robert's answer in the old thread applies also here: instead of a 
file random.py, you have a package named 'random' in the working 
directory.

-- 
Pauli Virtanen




More information about the NumPy-Discussion mailing list