On Mon, Sep 28, 2009 at 9:37 AM, William Stein <wst...@gmail.com> wrote: > > On Mon, Sep 28, 2009 at 9:35 AM, John Hunter <jdh2...@gmail.com> wrote: >> On Mon, Sep 28, 2009 at 11:14 AM, John Hunter <jdh2...@gmail.com> wrote: >> >>> But even simple tests are failing with:: >>> >>> jdh2...@bsd:~> LD_LIBRARY_PATH=~/devtest/lib/ >>> PYTHONPATH=~/devtest/lib/python2.6/site-packages/ /usr/bin/python -c >>> 'import matplotlib; matplotlib.use("Agg"); from matplotlib.pyplot >>> import *; plot([1,2,3]); savefig("test")' >>> Traceback (most recent call last): >>> File "<string>", line 1, in <module> >>> File >>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/pyplot.py", >>> line 7, in <module> >>> from matplotlib.figure import Figure, figaspect >>> File >>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/figure.py", >>> line 16, in <module> >>> import artist >>> File >>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/artist.py", >>> line 6, in <module> >>> from transforms import Bbox, IdentityTransform, TransformedBbox, >>> TransformedPath >>> File >>> "/Users/jdh2358/devtest//lib/python2.6/site-packages/matplotlib/transforms.py", >>> line 34, in <module> >>> from matplotlib._path import affine_transform >>> ImportError: >>> /Users/jdh2358/devtest/lib/python2.6/site-packages/matplotlib/_path.so: >>> no appropriate 64-bit architecture (see "man python" for running in >>> 32-bit mode) >>> >>> I'm attaching my build output in case anyone sees anything that might >>> be triggering this 32bit/64bit problem (see attached for full output). >>> I did not rebuild numpy and this may be the problem since the failure >>> is in the _path module. I'll give that a try next >> >> >> Same issue with numpy HEAD > > One thing to keep in mind is that the default for GCC on OS X 10.6 is > to build 64-bit binaries. With OS X 10.5 the default for GCC was to > make 32-bit binaries. (To get 64-bit you used to have to do "-m64", > but that is now the default.) So you really have to start from > scratch.
I am now getting the exact same problem with pylab and FEMhub and Mac. I used http://sagemath.org/packages/standard/matplotlib-0.99.1.p4.spkg: ond...@bsd:~/repos/femhub-0.9.9.beta3-mac(master)$ ./femhub ---------------------------------------------------------------------- | FEMhub Version 0.9.9.beta2, Release Date: 2010-04-02 | | Type lab() for the GUI. | ---------------------------------------------------------------------- In [1]: import pylab /Users/ondrej/repos/femhub-0.9.9.beta3-mac/local/lib/python2.6/site-packages/matplotlib/rcsetup.py:117: UserWarning: rcParams key "numerix" is obsolete and has no effect; please delete it from your matplotlibrc file warnings.warn('rcParams key "numerix" is obsolete and has no effect;\n' /Users/ondrej/repos/femhub-0.9.9.beta3-mac/local/bin/sage-sage: line 203: 28516 Abort trap sage-ipython "$@" -i It's using the "bsd" Mac machine from William, I guess the same as John was using above. Has anybody figured out a solution? Apparently Sage must work on the Mac, so it must be something different than just matplotlib? Some other package, that we have in femhub, but not in Sage, or some different version of something. Here is a list of packages that I have installed: ond...@bsd:~/repos/femhub-0.9.9.beta3-mac(master)$ ./femhub -i Currently installed packages: blas-20070724 bzip2-1.0.5 cmake-2.6.2.p1 configobj-4.5.3 cython-0.12.1 dir-0.1 docutils-0.5.p0 femhub-lab-97141eb fipy-2.1-eb4aacf fortran-20071120.p8 freetype-2.3.5.p2 gnutls-2.2.1.p3 hermes2d-9bbfd39 ipython-bzr1174 jinja-1.2.p0 judy-1.0.5.p1 lapack-20071123.p1 libfemhub-78c07cb libgcrypt-1.4.3.p2 libgpg_error-1.6.p2 libpng-1.2.35.p0 matplotlib-0.99.1.p4 mayavi-3.3.1.p2 mesa-7.4.4.p3 numpy-1.3.0.p2 pexpect-2.0.p3 prereq-0.3 pygments-0.11.1.p0 pyparsing-1.5.2 pysparse-1.1-6301cea python-2.6.4.p7 python_gnutls-1.1.4.p7 readline-6.0 sage_scripts-3.4.2 scipy-0.7.p4 setuptools-0.6c9.p0 sfepy-2009.3 sphinx-0.6.3.p4 swig-1.3.36 sympy-5d78c29 termcap-1.3.1.p1 twisted-9.0.p2 vtk-cvs-20090316-minimal.p6 zlib-1.2.3.p5 Let me know if you have any hints what to try. Ondrej -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.