Re: [Matplotlib-users] Installation woes: phantom Numpy version?

2008-08-07 Thread Richard Lawrence
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John,

Thanks for your help.

|
| Most likely there is another version of numpy on your system that easy
| install is picking up (multiple versions of python perhaps?).  You
| might try to find them with
|
|find / -name numpy -type d
|
Indeed, this did turn up another installation, and I am now searching
for a third, even older one.  I wish I understood the layout of /Library
better...or that there was only a single site-packages directory for
each version of Python :)  Once I weed them all out, I will give the egg
another shot.  I would still like to be able to build it from source,
though, so I can stay up to date.

| Did you edit setupext.py to remove the basedir settings ans Charlie
| recommended?  Also, let's make sure that the files in your ld path are
| there and of the right type?  What does
|
|file /usr/local/src/mpl-build/libpng-1.2.29/libpng*
|
| return?
I did in fact edit setupext.py, and the 'darwin' key of basedir is set
to an empty list.  The file command does report universal binaries for
libpng*; the relevant output lines are:

libpng-1.2.29/libpng.a:Mach-O universal binary with 2
architectures
libpng-1.2.29/libpng.a (for architecture i386): current ar archive
random library
libpng-1.2.29/libpng.a (for architecture ppc):  current ar archive random
library

(There are similar messages for the various .o and .lo files.)

| One other option is to try following the build instructions I posted
| at http://ipython.scipy.org/moin/Py4Science/InstallationOSX

Actually, the reason I went with the whole hog method of compiling
libpng and freetype from source was that I was running into a similar
architecture error when I tried compiling against the freetype and
libpng in /usr/X11R6.  Perhaps there is some deeper include path issue
that I can't see?

- --
Richard Lawrence
Research Coordinator
Computational Memory Lab
[EMAIL PROTECTED]
215-746-0407
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkibA/QACgkQCWv7yMGrSa/s0gCfe5/0oyGIHWq+z7cNuJc1lYaJ
unwAniu5qwOwTXaKpjegPjnX5PBBJTlP
=RUYR
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Installation woes: phantom Numpy version?

2008-08-07 Thread Chris Barker
 On Wed, Aug 6, 2008 at 5:02 PM, Richard Lawrence [EMAIL PROTECTED] wrote:

 My setup is:
 Mac Pro PPC G5, OS X 10.5.4
 Python 2.5.1 (Apple build)
 Numpy 1.2.0.dev5615 -- ran svn update and rebuilt this morning

 REQUIRED DEPENDENCIES
 ~* numpy 1.1 or later is required; you have
 ~* 1.0.5.dev4673

Apple distributed a version of numpy with the system python, and set up 
sys.path so that their stuff would be found before site-packages, so you 
may be getting Apple's version of numpy rather than the one you built 
and installed. (I'm not running 10.5, so I can't supply details)

There are ways to work around this -- a little googling should help you 
figure it out, but I recommend that you avoid the whole problem (and 
others) by installing python.org's build of 2.5.2, and go from there -- 
the binaries on the numpy site are built for that version.

-Chris



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

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users