471,626 Members | 1,631 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,626 software developers and data experts.



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\ScriptsC:\python25\python f2py.py -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:

http://www.scipy.org/F2PY_Window <https://webmail.belcan.com/exchweb/bin/redir.asp?URL=http://www.scipy.org/F2PY_Window

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:ga*******@yahoo.com.ar]
Sent: Sun 9/21/2008 1:55 PM
To: py*********@python.org

En Sat, 20 Sep 2008 16:07:12 -0300, Blubaugh, David A.
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
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.

Sep 21 '08 #1
0 1382

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Markus Faust | last post: by
6 posts views Thread by M. Faust | last post: by
6 posts views Thread by Sile | last post: by
5 posts views Thread by Tyler | last post: by
reply views Thread by Blubaugh, David A. | last post: by
reply views Thread by Gabriel Genellina | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.