PYTHONPATH on Windows XP module load problem

MRAB google at mrabarnett.plus.com
Tue May 19 10:08:44 EDT 2009


Andreas Otto wrote:
> 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

Does this help?

http://pyfaq.infogami.com/is-a-pyd-file-the-same-as-a-dll




More information about the Python-list mailing list