Thomas,

I have a Win2K machine and win32net imports just fine.

Here is what I did - started python shell with the -v switch and
imported win32net. This is what it says:
py>>> import win32net
# c:\python24\lib\encodings\cp437.pyc matches
c:\python24\lib\encodings\cp437.py
import encodings.cp437 # precompiled from
c:\python24\lib\encodings\cp437.pyc
import win32net # dynamically loaded from
C:\Python24\Lib\site-packages\win32\win32net.pyd

I tried this on Python 2.4, pywin32 build 203 and Win2k Version
5.00.2195 SP 4.

What version of Python are you using? Do you have the Python-version
corresponding version of the pywin32 extensions installed?

Another item you may want to check is if your PYTHONPATH is correct.
Are you able to import other win32 components correctly, for example,
win32com.client? Here is my Pythonpath:
c:\python24;c:\python24\lib;c:\python24\scripts;C:\Python24\Lib\site-packages\wi
n32;C:\Python24\Lib\site-packages\win32\lib;C:\Python24\Lib\site-packages\Python
win;C:\WorkArea\Python

/
Thanks,
--Kartic

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to