-------- Original-Nachricht -------- > Datum: Mon, 17 Aug 2009 17:04:13 +1000 > Von: Mark Hammond <skippy.hamm...@gmail.com> > An: Uri Faber <urifa...@gmx.ch> > CC: python-win32@python.org > Betreff: Re: [python-win32] Problems importing win32com
> 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 Hi installing win32 again as administrator solved the problem thanks uri -- Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02 _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32