[Tutor] Error installing review board on windows

vishwajeet singh dextrous85 at gmail.com
Fri May 29 08:16:32 CEST 2009


Yes I am using python 2.5 and I have corect version of PIL for python 2.5.

Thanks for your help anyways.

On Fri, May 29, 2009 at 2:47 AM, Dave Angel <davea at ieee.org> wrote:

> 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.
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>



-- 
Cheers,
Vishwajeet
http://www.singhvishwajeet.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090529/578ec676/attachment-0001.htm>


More information about the Tutor mailing list