PYTHONPATH on Windows XP module load problem

Andreas Otto aotto1968 at t-online.de
Tue May 19 09:16:55 EDT 2009


Hi,

  I have the following problem using python on windows.
  I crated a binary extension called

        pymsgque.dll

  on windows. The same extension works fine on UNIX/Linux.

  The problem is on Windows. The build is no problem 
  but python is not able to load this extension with

        import pymsgque

  and create the following error:

  Traceback (most recent call last):
  File "server.py", line 13, in <module>
    import pymsgque
ImportError: No module named pymsgque
[31906 refs]

  the PYTHONPATH variable has the directory of
  pymsgque.dll location

  the build of python and the pymsgque extension was done using
        > Microsoft Visual C++ Express Edition

  it seems that I missing something

mfg

  Andreas Otto



More information about the Python-list mailing list