I recently upgraded to the latest version of matplotlib using the
ScipySuperpack. However it seems that pylab is not playing nice
with Tcl/Tkinter, creating an alloc problem. I am using ActiveTcl
8.5.00 and TclTkAquaBI-8.4.9.1.
The error is shown below:
[tgrav@******] Phoebe1/Red → python
ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on
Python 2.4.3 (#1, Apr 3 2006, 18:07:18)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type “help”, “copyright”, “credits” or “license” for more information.
import numpy
numpy.version
‘1.0.1.dev3436’
import matplotlib
import pylab
matplotlib.version
‘0.87.7’
x = [0,0]
y = [1,1]
pylab.plot(x,y)
[<matplotlib.lines.Line2D instance at 0x2676da0>]
pylab.show()
alloc: invalid block: 0xa08aca0: a 9c 0
Abort
[tgrav@******] Phoebe1/Red →
A google search came up empty, except that this might be a Tcl
problem because threading was not enabled, but the ActiveTcl
should have that enabled. The problem showed up when I
upgraded to the new version of matplotlib, so I am wondering
if it is the culprit of the error. Any help is appreciated.
Cheers
Tommy
tgrav@…935…
http://homepage.mac.com/tgrav/
···
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius – and a lot of courage – to move in
the opposite direction" – Albert Einstein