I am trying to get pywin32 build 218 installed and am having trouble. Here is 
the error I am getting:

C:\Python26>python F:\Downloads\Python\pywin32\pywin32-218\setup.py install
Building pywin32 2.6.218.0
running install
running build
running build_py
running build_ext
Found version 0x601 in C:\Program Files\Microsoft 
SDKs\Windows\v7.0A\include\SDKDDKVER.H
building 'perfmondata' extension
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\mc.exe -h win32\src\perfmon 
-r build\temp.win32-2.6\Release\win32\src\
perfmon win32\src\perfmon\PyPerfMsgs.mc
MC: Compiling win32\src\perfmon\PyPerfMsgs.mc
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\rc.exe 
/fobuild\temp.win32-2.6\Release\win32\src\perfmon\PyPerfMsgs.re
s build\temp.win32-2.6\Release\win32\src\perfmon\PyPerfMsgs.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation.  All rights reserved.

C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe /c /nologo /Ox /MD 
/W3 /GS- /DNDEBUG -DDISTUTILS_BUILD -D_CR
T_SECURE_NO_WARNINGS -Icom/win32com/src/include -Iwin32/src 
-IC:\Python26\include -IC:\Python26\PC "-IC:\Program Files\M
icrosoft SDKs\Windows\v7.0A\include" /Tpwin32\src\perfmon\perfmondata.cpp 
/Fobuild\temp.win32-2.6\Release\win32\src\perf
mon\perfmondata.obj /Zi /Fdbuild\temp.win32-2.6\Release\perfmondata_vc.pdb 
/EHsc /DMFC_OCC_IMPL_H=\"..\src\occimpl.h\" /
DUNICODE /D_UNICODE /DWINNT
perfmondata.cpp
win32\src\perfmon\perfmondata.cpp(11) : fatal error C1083: Cannot open include 
file: 'perfutil.h': No such file or direc
tory
error: command '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.exe"' 
failed with exit status 2

I had followed a forum suggestion to set a VS90COMNTOOLS environmental variable 
to my VS2010 VS100COMNTOOLS value like this:

SET VS90COMNTOOLS=%VS100COMNTOOLS%

Prior to doing that, I couldn't even get past an Unable to find vcvarsall.bat 
error.

As you can probably tell, I am installing on Windows (XP Pro SP 3) and have 
Python 2.6.5 and Visual Studio 2010 (full version).

Any suggestions?

Nick Seigal  - Senior GIS Analyst/Application Developer  - Lane Council of 
Governments
859 Willamette Street, Suite 500  -  Eugene, Oregon 97401-2910
(541) 682-6733  -  (541) 682-4099 (fax)  -  www.lcog.org<http://www.lcog.org/>
Messages to and from this e-mail address may be subject to disclosure under 
Oregon Public Records Law.
* Please consider the environment before printing this message.



_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to