Error installing matplotlib on cygwin

You can try the solution outlined in the following thread:

If this doesn't work for you, then try the standard windows python
distribution and MinGW as the compiler, following the instructions on
this page:

- Paul


On Tue, Nov 08, 2005 at 10:41:06PM -0500, Alexander Mont wrote:

I am trying to install matplotlib on cygwin. When I try to do so it gives me the following message:

GTK requires pygtk
GTKAgg requires pygtk
running build
running build_py
running build_ext
building 'matplotlib._agg' extension
gcc -fno-strict-aliating -DNDEBUG -g -03 -Wall -Wstrict-prototypes -Iagg23/include -Isrc -Iswig -I/usr/include/python2.4 -c src/agg.cxx -o build/temp.cygwin-1.5.18-i686-2.4/src/agg.o
C:\cygwin\bin\python2.4.exe (260) *** unable to remap C:\cygwin\bin\tk84.dll to same address as parent(0x18C90000) != 0x191A0000
1068 [main] python 1216 fork_parent: child 260 died waiting for dll loading
error: Error


How can I fix this?