Hello,

i am having some trouble to include win32wnet library into my code.
Using this inside python, all works fine. When i make executable using py2exe, i get ImportError on importing the module win32wnet.

Have someone an idea?

Regards,
Steffen

System:
Windows7 Professional x86_64
Python 2.7.1 (32bit)


## Exception Error ##
---------------------------------
MemoryLoadLibrary failed loading win32wnet.pyd ## [diredit::getUNCPath(68)]
Traceback (most recent call last):
  File "tfm\util\fileio\diredit.pyo", line 65, in getUNCPath
  File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading win32wnet.pyd


## snip of code from setup.py ##
-------------------------------------------------
includes = ["sip",
            "PyQt4.QtCore",
            "pubsub.*",
            "pubsub.core.*",
            "pubsub.core.kwargs.*",
            "lxml",
            "gzip",
            "lxml._elementpath",
            "win32api",
            "win32wnet",
            ]

# workaround of following error
# ... ImportError: MemoryLoadLibrary failed loading win32api.pyd
dll_excludes = [ "mswsock.dll", "powrprof.dll" ]
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to