From: John H. <jd...@gm...> - 2009-05-28 14:34:51
|
On Thu, May 28, 2009 at 9:25 AM, John Hunter <jd...@gm...> wrote: > On Thu, May 28, 2009 at 9:06 AM, John Hunter <jd...@gm...> wrote: >> On Thu, May 28, 2009 at 8:57 AM, Charlie Moad <cw...@gm...> wrote: >>> Another note. I ran into problems when trying to create the build in >>> a directory that had spaces. (e.g. C:\Documents and Settings\....). >>> Try running everything in a top level dir. >> >> That's not it -- I avoid spaces like the plague. >> >> I am now getting a "cannot exec 'cc1plus'" error when I try and build >> mpl itself (zlib, png, freetype and tcltl built fine). I can do:: >> >> > gcc --version >> >> but not:: >> >> > g++ --version >> >> Did you install something extra for g++ -- I installed mingw 5.1.4, >> MSYS and wget as instructed....) > > Never mind -- just reran the mingw-5.1.4.exe installer and it prompted > me for additional compilers. I selected g++ and now I have it Now I am hitting a missing setuptools import from setupwinegg.py. Apparently python2.6 doesn't come with setuptools on windows (Is this expected? It surprised me, I thought setuptools was supposed to be a standard....) Anyhow, a quick google takes me to http://www.python-forum.org/pythonforum/viewtopic.php?f=15&t=10175 which suggests 1. Download setuptools-0.6c9.tar.gz 2. Download setuptools-0.6c9-py2.6.egg to a folder(directory) outside your Windows Python installation folder 3. Use 7-zip to extract ez_setup.py in the same folder as setuptools-0.6c9-py2.6.egg 4. Go to the corresponding dos prompt and run python ez_setup.py setuptools-0.6c9-py2.6.egg from the command prompt 5. Ensure that your PATH includes the appropriate C:\Python2X\Scripts directory Is this really the path of least resistance? Whatever happened to the easy in ez_setup.... JDH |