Python、numpy、および scipy_dist_utils をインストールした後、Python インタープリターに f2py と入力した結果は次のとおりです。
>>> f2py
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
f2py
NameError: name 'f2py' is not defined
>>> import numpy
>>> f2py
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
f2py
NameError: name 'f2py' is not defined
from numpy import f2py は問題を解決しましたが、現在は機能しません f2py -c --help-fcompiler
f2py -c --help-fcompiler トレースバック (最新の呼び出しが最後): ファイル ""、1 行目、f2py -c --help-fcompiler NameError: 名前 'c' が定義されていません
何がうまくいかなかったのですか?誰でもこれで私を助けることができますか?