Blubaugh, David A. dblubaugh at
Mon Sep 22 00:42:10 CEST 2008

Thank you for your reply.  This is as to how I developed my .pyd file.  I entered the following commands within my MS-DOS prompt within Windows XP:

C:\python25\Scripts> C:\python25\python -c --fcompiler=gnu95 --compiler=mingw32 -m hello hello.f90

I am using the gfortran compiler, that was prescribed to use, as well as, the required commands on the following website: <> 

I comes down to that yes, I am able to generate a .pyd file, which was generated by f2py.  However, when I tried to import this file into my python script program I was given the following error:
 error 193?? 
I do not know as to what I am doing incorrectly, since I am generating a .pyd file by f2py?  If I am doing anything that is incorrect, then why am I EVEN ABLE TO GENERATE A .PYD FILE IN THE FIRST PLACE???   Any Help will be greatly appreciated!!!!!
David Blubaugh


From: Gabriel Genellina [mailto:gagsl-py2 at]
Sent: Sun 9/21/2008 1:55 PM
To: python-list at

En Sat, 20 Sep 2008 16:07:12 -0300, Blubaugh, David A. 
<dblubaugh at> escribió:

> Let me state that do have extensive experience with developing binary 
> files.  Please note that I have followed all of the instructions to the 
> letter as far as developing a DLL to be imported.  However, it is not 
> working correctly.  I believe it might be my system environment 
> variables??

It might be the sunspots (or the lack of them) as well.
You could start telling us what's your platform, which instructions have 
you followed, which compiler have you used...

Gabriel Genellina

This e-mail transmission contains information that is confidential and may be 
privileged. It is intended only for the addressee(s) named above. If you receive 
this e-mail in error, please do not read, copy or disseminate it in any manner. 
If you are not the intended recipient, any disclosure, copying, distribution or 
use of the contents of this information is prohibited. Please reply to the 
message immediately by informing the sender that the message was misdirected. 
After replying, please erase it from your computer system. Your assistance in 
correcting this error is appreciated.

More information about the Python-list mailing list