-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/28/10 11:23 AM, Alexander Lehmann wrote: > On 28.09.2010, at 17:18, Daniel Johnson wrote: >> On Sep 28, 2010, at 10:37 AM, Alexander Lehmann wrote: >>> having installed python2.7 and matplotlib-py27 on an OS X 10.6 system >>> running 64-bit fink, I just ran into an issue when trying to import the >>> pylab module from within python whereupon I get the following error message: >>> >>>>>> import pylab >>> Traceback (most recent call last): >>> File "<stdin>", line 1, in <module> >>> File "/sw64/lib/python2.7/site-packages/pylab.py", line 1, in <module> >>> from matplotlib.pylab import * >>> File "/sw64/lib/python2.7/site-packages/matplotlib/pylab.py", line 259, in >>> <module> >>> from matplotlib.pyplot import * >>> File "/sw64/lib/python2.7/site-packages/matplotlib/pyplot.py", line 95, in >>> <module> >>> new_figure_manager, draw_if_interactive, show = pylab_setup() >>> File "/sw64/lib/python2.7/site-packages/matplotlib/backends/__init__.py", >>> line 25, in pylab_setup >>> globals(),locals(),[backend_name]) >>> File >>> "/sw64/lib/python2.7/site-packages/matplotlib/backends/backend_macosx.py", >>> line 5, in <module> >>> import MacOS >>> ImportError: No module named MacOS >>> >>> I haven't messed around with my PYTHONPATH settings or stuff like that >>> which makes me think that this may be some package related issue (either >>> python2.7 or matplotlib-py27). >>> >>> Has someone experienced the same problems or does someone know a solid(!) >>> work-around? >> >> There is no MacOS module on 64 bit python since it uses the Carbon framework >> which is 32 bit only. >> >> If you want to use matplotlib, you need to use a 32 bit fink installation. > > Thanks for your quick reply! > > Despite the fact that matplotlib-py27 is in the unstable tree I wonder if > this is going to be fixed (if possible at all; looking forward to an > appropriate configure switch). I do certainly hope so :) > > Regards, > Alexander
"unstable" on 10.6 still is just that--not all packages there have been verified as to whether they build or work properly. In this case the package built, but won't run. The "fix" will be to block this package from the 64 bit distribution until a version which doesn't use Carbon gets added. (either a new upstream version or a patch). - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyiDMoACgkQB8UpO3rKjQ/3fACePCx2CFlLF/jMiCHAIKzghmaJ cX4An2X3qtKNY94E4Q8mkZCU2BC6AV/y =hPeR -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
