ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 05 Aug 2014 10:25:25 +0200!f2py not workinghttps://ask.sagemath.org/question/23594/f2py-not-working/Why is the command line F2PY tool not working with my sage installation?
The command `!f2py` on the sage shell returns
f2py*
-bash: f2py*: command not found
Do I have to be in the right folder for the tool to work?
I run sage in a virtual machine under Windows 7.
[Sage 6.2 Documentation referring to f2py (the section referring to the command line tool is at the very bottom](http://www.sagemath.org/doc/numerical_sage/f2py.html)Sat, 26 Jul 2014 20:03:48 +0200https://ask.sagemath.org/question/23594/f2py-not-working/Comment by jjack for <p>Why is the command line F2PY tool not working with my sage installation?</p>
<p>The command <code>!f2py</code> on the sage shell returns</p>
<pre><code>f2py*
-bash: f2py*: command not found
</code></pre>
<p>Do I have to be in the right folder for the tool to work? </p>
<p>I run sage in a virtual machine under Windows 7.</p>
<p><a href="http://www.sagemath.org/doc/numerical_sage/f2py.html">Sage 6.2 Documentation referring to f2py (the section referring to the command line tool is at the very bottom</a></p>
https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23602#post-id-23602I provided further clarification to my question.Sun, 27 Jul 2014 08:53:51 +0200https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23602#post-id-23602Comment by slelievre for <p>Why is the command line F2PY tool not working with my sage installation?</p>
<p>The command <code>!f2py</code> on the sage shell returns</p>
<pre><code>f2py*
-bash: f2py*: command not found
</code></pre>
<p>Do I have to be in the right folder for the tool to work? </p>
<p>I run sage in a virtual machine under Windows 7.</p>
<p><a href="http://www.sagemath.org/doc/numerical_sage/f2py.html">Sage 6.2 Documentation referring to f2py (the section referring to the command line tool is at the very bottom</a></p>
https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23595#post-id-23595What do you mean by "does exactly nothing"? Does it just return you the Sage prompt? Does it output an error message then return the Sage prompt? Does it output some information about how to use f2py then return the Sage prompt? Does it not return the Sage prompt? If you include a copy-paste of input and output, and say what you were trying to do and what you expected to happen, it's easier to help. (Edit your question to add information.)Sat, 26 Jul 2014 20:29:31 +0200https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23595#post-id-23595Comment by kcrisman for <p>Why is the command line F2PY tool not working with my sage installation?</p>
<p>The command <code>!f2py</code> on the sage shell returns</p>
<pre><code>f2py*
-bash: f2py*: command not found
</code></pre>
<p>Do I have to be in the right folder for the tool to work? </p>
<p>I run sage in a virtual machine under Windows 7.</p>
<p><a href="http://www.sagemath.org/doc/numerical_sage/f2py.html">Sage 6.2 Documentation referring to f2py (the section referring to the command line tool is at the very bottom</a></p>
https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23657#post-id-23657Is `f2py*` in your PATH?Sat, 02 Aug 2014 03:25:29 +0200https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23657#post-id-23657Comment by Dima for <p>Why is the command line F2PY tool not working with my sage installation?</p>
<p>The command <code>!f2py</code> on the sage shell returns</p>
<pre><code>f2py*
-bash: f2py*: command not found
</code></pre>
<p>Do I have to be in the right folder for the tool to work? </p>
<p>I run sage in a virtual machine under Windows 7.</p>
<p><a href="http://www.sagemath.org/doc/numerical_sage/f2py.html">Sage 6.2 Documentation referring to f2py (the section referring to the command line tool is at the very bottom</a></p>
https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23695#post-id-23695!f2py at the sage: prompt should indeed return something like
Usage:
1) To construct extension module sources:
f2py [<options>] <fortran files> [[[only:]||[skip:]] \
etc.
The question is whether the Sage 6.2. VM image has f2py installed. I don't know. In principle, one should be able to install it using the standard package management tool, from the shell prompt, for the corresponding Linux distribution (if it's Fedora then the tool is called yum).Tue, 05 Aug 2014 10:25:25 +0200https://ask.sagemath.org/question/23594/f2py-not-working/?comment=23695#post-id-23695