I figured out part of the problem. It's not win32con, it's win32file that's
not importing. I'm disabling cron locally, and I posted a question on
StackOverflow in case anyone wants to try and decipher this mystery
(http://stackoverflow.com/questions/10256531/using-eclipse-with-pywin32).
On
Here's what I've got:
Python 2.6 (r26:66721, Oct 2 2008, 11:35:03) [MSC v.1500 32 bit (Intel)]
on win
32
Type help, copyright, credits or license for more information.
import win32con
win32con
module 'win32con' from
'C:\Python26\lib\site-packages\win32\lib\win32con.pyc'
The mystery gets
(The first one is from Python started independently, the second from
Eclipse and the running instance of my app.)
Are you sure you got the right win32? e.g. it needs to match the Python
version number (2.6) and bit width (32? 64?) of your interpreter.
If you start Python independently, can you import win32con without error?
4 matches
Mail list logo