Re: [Numpy-discussion] Where's append in NumPy?? Can't Installing NumPy.

2007-01-09 Thread Lou Pecora

--- Lou Pecora [EMAIL PROTECTED] wrote:

 That may be it.  I'll get a newer version.
 


No Luck.  

I downloaded numpy-1.0-py2.4-macosx10.4.dmg from the
MacOSX package site, but the installer kept telling me
there was nothing to install.  I removed the previous
NumPy and numpy.pth from the site packages and got the
same message.  How do I install numpy when another
version is there (apparently erroneously marked as a
later version)?



-- Lou Pecora
  My views are my own.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Where's append in NumPy?? Can't Installing NumPy.

2007-01-09 Thread Christopher Barker
Lou,

This is odd. I've always been able to do it. I sure wish Apple had 
provided a decent package management system!

I have a dmg for 1.0.1 that seems to work well. I wonder where I got it?

$ python2.4
Python 2.4.3 (#1, Apr  7 2006, 10:54:33)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type help, copyright, credits or license for more information.
  import numpy
  numpy.__version__
'1.0.1'
 

  help(numpy.append)
Help on function append in module numpy.lib.function_base:

append(arr, values, axis=None)
 Append to the end of an array along axis (ravel first if None)


In any case, I'll send it straight to you in a separate email. Let me 
know how it works.

-Chris


Lou Pecora wrote:
 --- Lou Pecora [EMAIL PROTECTED] wrote:
 
 That may be it.  I'll get a newer version.

 
 
 No Luck.  
 
 I downloaded numpy-1.0-py2.4-macosx10.4.dmg from the
 MacOSX package site, but the installer kept telling me
 there was nothing to install.  I removed the previous
 NumPy and numpy.pth from the site packages and got the
 same message.  How do I install numpy when another
 version is there (apparently erroneously marked as a
 later version)?
 
 
 
 -- Lou Pecora
   My views are my own.
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 ___
 Numpy-discussion mailing list
 Numpy-discussion@scipy.org
 http://projects.scipy.org/mailman/listinfo/numpy-discussion

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/ORR(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

[EMAIL PROTECTED]
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Where's append in NumPy?? Can't Installing NumPy.

2007-01-09 Thread Lou Pecora
Hi, Chris,   Some answers below (sort of):

--- Christopher Barker [EMAIL PROTECTED] wrote:

 Lou,
 
 This is odd. I've always been able to do it. I sure
 wish Apple had 
 provided a decent package management system!

Amen!

 I have a dmg for 1.0.1 that seems to work well. I
 wonder where I got it?

I got my original NumPy that wouldn't install from the
MacPython site.  It was a package with the usual
install dialog.  Even wiping the existing NumPy from
site-packages didn't work.  Go figure.

Finally got NumPy installed using the tarball from
http://www.scipy.org/Download.  Did the usual,

sudo python setup install

stuff and that worked.  I now have NumPy 1.01 and it
has 'append'. 

For others information:  I had to update SciPy and
Matplotlib, too.  SciPy turned out *not* to be doable
from its tarball on http://www.scipy.org/Download.  I
got the following error (after a whole LOT of output
from compiling, etc.):

/usr/local/bin/g77 -g -Wall -undefined
dynamic_lookup...blah,
blah.../scipy/fftpack/_fftpack.so

/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status

/usr/bin/ld: can't locate file for: -lcc_dynamic
collect2: ld returned 1 exit status

error: Command /usr/local/bin/g77 -g -Wall -undefined
dynamic_lookup ...blah,
blah.../scipy/fftpack/_fftpack.so failed with exit
status 1

Exit 1


Whatever collect2 is ld couldn;t find it.  I finally
got SciPy installed from the superpack at the
http://www.scipy.org/Download site.  That seems to
work, giving me version 0.5.3dev for SciPy.

Matplotlib installed fine from tarball and the setup
stuff.

I hope that's of use to someone out there.  Each time
I upgrade something it's an adventure.  Thanks for the
feedback.




-- Lou Pecora
  My views are my own.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Where's append in NumPy?? Can't Installing NumPy.

2007-01-09 Thread Robert Kern
Lou Pecora wrote:

 /usr/local/bin/g77 -g -Wall -undefined
 dynamic_lookup...blah,
 blah.../scipy/fftpack/_fftpack.so
 
 /usr/bin/ld: can't locate file for: -lcc_dynamic

Yup. You can't use g77 with gcc 4. See the instructions I give in the thread
recompiling needed for binary module after numpy 1.0.

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


Re: [Numpy-discussion] Where's append in NumPy?? Can't Installing NumPy.

2007-01-09 Thread Lou Pecora
Ah, that does ring a bell.  Sigh.  I need to upgrade
my memory banks.  Sure is tough keeping these packages
in sync.  Thanks.  I'll check it out.

--- Robert Kern [EMAIL PROTECTED] wrote:

 Lou Pecora wrote:
 
  /usr/local/bin/g77 -g -Wall -undefined
  dynamic_lookup...blah,
  blah.../scipy/fftpack/_fftpack.so
  
  /usr/bin/ld: can't locate file for: -lcc_dynamic
 
 Yup. You can't use g77 with gcc 4. See the
 instructions I give in the thread
 recompiling needed for binary module after numpy
 1.0.
 
 -- 
 Robert Kern


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion