[Tutor] Error installing review board on windows

Dave Angel davea at ieee.org
Thu May 28 23:17:09 CEST 2009


vishwajeet singh  wrote:

>
> Hi List,
>
> I am trying to install review board on windows. It fails saying it could not
> build PIL 1.1.6 because visual studio was not found on the system and but I
> have already installed the PIL 1.1.6 using binaries available on the site
> but review board fails to locate it and every time tries to download the PIL
> and fails while building the same.
>
> error shown below
> *error: Setup script exited with error: Python was built with Visual Studio
> 2003;*
> *extensions must be built with a compiler than can generate compatible
> binaries.
> Visual Studio 2003 was not found on this system. If you have Cygwin
> installed,
> you can try compiling with MingW32, by passing "-c mingw32" to setup.py.
>
> *I tried to build the PIL from source using cygwin but that also failed with
> following error
> * `_imp___Py_NoneStruct'
> build\temp.win32-2.5\Release\path.o:path.c:(.text+0xa93): undefined
> reference to
>  `_imp___Py_NoneStruct'
> build\temp.win32-2.5\Release\path.o:path.c:(.text+0xac2): undefined
> reference to
>  `_imp__PyExc_IndexError'
> build\temp.win32-2.5\Release\path.o:path.c:(.text+0xae5): undefined
> reference to
>  `_imp__PyExc_TypeError'
> build\temp.win32-2.5\Release\path.o:path.c:(.text+0xd7c): undefined
> reference to
>  `_imp___Py_NoneStruct'
> build\temp.win32-2.5\Release\path.o:path.c:(.text+0xd84): undefined
> reference to
>  `_imp___Py_NoneStruct'
> build\temp.win32-2.5\Release\path.o:path.c:(.text+0xe01): undefined
> reference to
>  `_imp__PyExc_AttributeError'
> collect2: ld returned 1 exit status
> error: command 'gcc' failed with exit status 1*
>
> Kindly help
>   

You don't say just what version of Python you're using, but I'm guessing 
it's 2.5   You have to use the exact matching version of PIL, the one 
built for Python 2.5

If you look at http://www.pythonware.com/products/pil/, you can see 
there are multiple downloads for PIL 1.1.6.  They are not interchangeable.

This may not be your problem, but it's the first thing I'd check.




More information about the Tutor mailing list