From: Transier, F. <fre...@sa...> - 2004-12-02 15:07:42
|
Thank you for your help. The matplotlib is now installed properly on my = win xp computer. I think using mingw instead of msvc was the key. That's the way it = worked on my machine: 1.) Download and install all the required things as descibed in the = win32_static/README but use the newest versions and for the GTK stuff = goto = <http://prdownloads.sourceforge.net/gladewin32/gtk-win32-devel-2.4-rc23.e= xe?download>. There is no need to change the "cygwinccompiler.py" but I had to adjust = the "profile24.bat" and the "importlib24.bat". 2.) Add the following code to line 234 in the setupext.py: if major=3D=3D2 and minor1=3D=3D4: print '\tBuilding for python24' module.include_dirs.extend(['win32_static/include/tcl84']) module.library_dirs.extend(['C:/Python24/dlls']) =20 module.libraries.extend(['tk84', 'tcl84']) =20 el 3.) python setup.py build --compiler=3Dmingw32 bdist_wininst Regards, Frederik -----Urspr=FCngliche Nachricht----- Von: John Hunter [mailto:jdh...@ni...]=20 Gesendet: Freitag, 26. November 2004 17:59 An: Transier, Frederik Cc: 'mat...@li...' Betreff: Re: [Matplotlib-users] Installing matplotlib with python 2.4 >>>>> "Transier," =3D=3D Transier, Frederik <fre...@sa...> = writes: Frederik> Hello, while I was trying to build the matplotlib 0.64 Frederik> with python 2.4 on my win xp machine Frederik> a lot of errors occurred. Has anyone managed to install Frederik> it under these conditions? Frederik> Or is there any location I can download the binaries Frederik> for python 2.4 and win xp? Frederik> Any help would be appreciated. Building on windows is a pain. I'll try to include a python2.4rc1 installer with the next release, possibly next week. If you need something sooner, you'll have to post some more information to the list. Have you read the instructions for building win32 in setupext.py, and downloaded the win32_static file from the matplotlib web site that is pointed to in setupext? JDH =20 |