Python Forum
Question about F2py...Help me plz!!!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about F2py...Help me plz!!!
#1
I'm windows user.
To make sure my available Fortran compiler, I put [>>>Python -m numpy.f2py -c --help-fcompiler] into command line however there after Fortran compilers found: is nothing!! there should be Intel Visual Fortran Compiler for 32-bit ...  something (cuz my my fortran compiler said so...)
I thought fortran compiler path was not through system environment variable though, it was.
please somebody tell me why and if possible, please tell me solution...
Reply
#2
Quote:I put
>>>Python -m numpy.f2py -c --help-fcompiler
into command line
The >>> show that your putting it into the python interpreter. You need to put this

python -m numpy.f2py -c --help-fcompiler
into the system command prompt/terminal
Recommended Tutorials:
Reply
#3
Yuji3131 Wrote:Thx for response so quickly but still there is nothing...
to make sure, where is the system command prompt/terminal?
plz some detail...

In Windows if you search
cmd
You will bring up the system command prompt

In linux if you hit Control + Alt + t, it will bring up a terminal
Recommended Tutorials:
Reply
#4
thx anyway!!
eventually I couldn't figure out why there is nothing after found compiler: so, i installed gnu95

then I got question again... I tried to use f2py but this error message came out[compiling C sources error: Unable to find vcvarsall.bat],however i already installed VC++ for python2.7. there is no explanation further installing VC++ so plz tell me how to deal with it...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  f2py: no Fortran compiler found FMJS 2 5,400 May-25-2020, 02:51 PM
Last Post: FMJS
  f2py recovering variables from Fortran module marius 0 3,448 Dec-02-2016, 03:52 PM
Last Post: marius
  F2PY.......plz!!!! Yuji3131 14 15,769 Oct-07-2016, 04:01 AM
Last Post: Mekire

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020