On 16/08/2009 8:14 AM, Uri Faber wrote:
Hi,
I have installed pywin32-214.win32 on Vista. Python Version 2.5.2.
PYTHONPATH is set to
C:\Python25\Lib\site-packages\win32;C:\Python25\Lib\site-packages;
Don't set PYTHONPATH - if you think you need to, something else has gone
wrong which may be the problem you are actually chaing.
when I try to import win32com I get the following traceback:
import win32com
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "C:\Python25\Lib\site-packages\win32com\__init__.py", line 5, in
<module>
import win32api, sys, os
File
"c:\Python25\Lib\site-packages\isapi\test\build\bdist.win32\winexe\temp\win32api.py",
You should most certainly *not* be loading win32api via that path, but
it isn't at all obvious how it happens that you are.
Cheers,
Mark
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32