Opened 16 years ago
Last modified 11 years ago
#18047 closed defect
py25-matplotlib - 0.98.5.2 - Graphics fails when using CocoaAgg — at Version 1
Reported by: | krunk7@… | Owned by: | ram@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | py25-matplotlib |
Description (last modified by mf2k (Frank Schima))
If CocoaAgg is set in the matplotlibrc, an error is thrown:
"must have pyObjc installed"
After installing py25-pyobjc2 (for Leopard 10.5), the following error is produced on render:
:!python2.5 temp.py 2>&1| tee /var/folders/jT/jTtjyOlwG-iLpczTAAnRIE+++TM/-Tmp-/v182152/22 Traceback (most recent call last): File "temp.py", line 2, in <module> from pylab import * File "/opt/local/lib/python2.5/site-packages/pylab.py", line 1, in <module> from matplotlib.pylab import * File "/opt/local/lib/python2.5/site-packages/matplotlib/pylab.py", line 253, in <module> from matplotlib.pyplot import * File "/opt/local/lib/python2.5/site-packages/matplotlib/pyplot.py", line 75, in <module> new_figure_manager, draw_if_interactive, show = pylab_setup() File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/__init__.py", line 25, in pylab_setup globals(),locals(),[backend_name]) File "/opt/local/lib/python2.5/site-packages/matplotlib/backends/backend_cocoaagg.py", line 26, in <module> from Foundation import * ImportError: No module named Foundation
Change History (2)
Changed 16 years ago by krunk7@…
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ram@… |
Port: | py25-matplotlib added |
Please remember to use WikiFormatting.
Note: See
TracTickets for help on using
tickets.
Generic rendering code used to test CocoaAgg