On 21/01/2014 9:23 PM, Tim Golden wrote:
I'm trying to bring my active_directory module up to scratch with Python
3. I'm hitting a couple of effective showstoppers.

First: I can't even build pywin32 for any revision past 337015e6d473,
which is when the IConverterSession stuff went in. I've tried a couple
of tweaks, but basically:

"""
com/win32comext/mapi/src/mapi.cpp(645) : fatal error C1083: Cannot open
include file: 'IConverterSession.h': No such file or directory
error: command '"c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\cl.exe"' failed with exit status 2
"""

Hrmph - I thought I recall screwing that up and Roger checking a fix in - probably the most recent pywin32 checkin.


Second: the adsi module won't import even in a released pywin32 218
install on any version of Python 3.x I have installed. It seems to have
fallen foul of Python 3's more restricted relative import semantics.
This is Python 3.3 but the same happens for 3.2 & 3.1 and for several
different incantations of the import (from win32com etc.)

import win32com.adsi
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "C:\Python33\lib\site-packages\win32comext\adsi\__init__.py",
line 25, in <module>
     from adsi import *
ImportError: No module named 'adsi'


And hrmph2!  I thought 2to3 did magic there.

I'll check tomorrow when I get back to my dev box...

Mark

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

Reply via email to