Gong, Shawn (Contractor) wrote:

> 2) Then in Python, when I type "import numpy"
> It says: Running from numpy source directory
> Then I type "numpy.sqrt(5)"
> AttributeError: 'module' object has no attribute 'sqrt'
> I assume that this means numpy was not installed successfully.

No, it means that you are running from the numpy source directory. That means it
is picking up the partial numpy package in the source that's used to bootstrap
the installation. Change out of that directory and try again.

-- 
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

Reply via email to