473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Help installing pywin32 - Can't find a version in Windows.h

Please excuse my newbie question, but I'm trying to install pywin32 using Python26 on Windows 7 64-bit machine. When I run the "python setup.py -q install" command I get the following error:

File "\download\pywin32-214\setup.py", line 2152, in <module>
('', ('pywin32.pth',)),
File "D:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "D:\Python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "D:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "\download\pywin32-214\setup.py", line 1251, in run
install.run(self)
File "D:\Python26\lib\distutils\command\install.py" , line 577, in run
self.run_command('build')
File "D:\Python26\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "D:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "\download\pywin32-214\setup.py", line 596, in run
build.run(self)
File "D:\Python26\lib\distutils\command\build.py", line 134, in run
self.run_command(cmd_name)
File "D:\Python26\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "D:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "D:\Python26\lib\distutils\command\build_ext.p y", line 345, in run
self.build_extensions()
File "\download\pywin32-214\setup.py", line 872, in build_extensions
self.build_extension(ext)
File "\download\pywin32-214\setup.py", line 1065, in build_extension
why = self._why_cant_build_extension(ext)
File "\download\pywin32-214\setup.py", line 760, in _why_cant_build_extension
raise RuntimeError("Can't find a version in Windows.h")
RuntimeError: Can't find a version in Windows.h

I have both Visual Studio 2008 and Visual Studio 2010 installed on my machine. What am I missing?
Dec 15 '10 #1
0 2614

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Steven Gutstein | last post by:
This is probably a fairly newbie type problem, but I'm trying to use PyOpenGL, and don't seem to have installed it correctly. I'm running Python 2.3 on a Windows NT machine. Whenever I go into...
0
by: db2expert | last post by:
I am running Windows NT and Installing DB2 Connect Personal Edition Version 8.1 for Windows OS on 32 Bit Systems. Receiving the following error message: In order to install the Product "DB2...
1
by: jobs | last post by:
Seems like I followed all steps but I can't find my service in the service manager?? f:\windowsservice\EmptyService\EmptyService\bin\Debug>InstallUtil EmptyS ervice.exe Microsoft (R) .NET...
0
Mauro
by: Mauro | last post by:
Hi! Could someone help me? Where can I find Hyperlink mouse pointer (hand)?
1
by: =?Utf-8?B?TmVpbCBDYXJ0ZXI=?= | last post by:
Help ! Every time I open media center it comes up with an error message saying it can not find the windows disk ! It has been working fine for over 12 months and suddenly started to give this...
10
by: Matt | last post by:
Hey guys. I'm currently learnign C and I've been reading on the GNU website how I should be using the getline() function instead of "unsafe" functions such as gets(); so to build good habits I wish...
1
by: JCCDEVEL | last post by:
Hello All, I am trying to introduce an update to a MS Access Data Project. It works fine on my pc but when I try installing it on my testers pc's, I get this error: Can't find project or...
1
by: owl | last post by:
I love easy_install. I love watching it search and complete. It's when it doesn't complete that causes me grief. I don't program a lot these days and am relatively new to python but I often...
1
by: Harry Zoroc | last post by:
I assume on my current machine MSXML was previously installed. But I don't know this for sure and if yes, which version and Service Pack. How can I find the version out ? Harry
4
by: =?Utf-8?B?UnVpIE9saXZlaXJh?= | last post by:
Where can I find XP version of FILECOPY.AVI, to use in a dialog? There is a movie called FILECOPY.AVI which is included with Visual Studio 2005, but it is the 16 bit (Windows 95) version. There...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.