[python-win32] Unable to install PyWin32 with Python 2.6.2
Mark Lawrence
breamoreboy at yahoo.co.uk
Sat Aug 29 15:14:23 CEST 2009
Terry Haran wrote:
> Hi Chris:
>
> I'm getting:
> error: Unable to find vcvarsall.bat
> when running
> setup.py install
> with pywin32-214
> and Python 2.6.2
> under
> Microsoft Windows XP [Version 5.1.2600]
> on a
> Panasonic CF-19 Series Toughbook.
>
> Any help would be greatly appreciated.
>
> Thanks,
> --Terry
>
My work around for this was to edit the distutils msvc9compiler.py file.
I commented out the line vcvarsall = find_vcvarsall(version) in the
function query_vcvarsall and hard coded vcvarsall = r'C:\Program
Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat'. This assumes that
you've got a copy of Visual C++!:)
HTH.
--
Kindest regards.
Mark Lawrence.
More information about the python-win32
mailing list