WindowsのMS製Pythonがどこまでできるかのテスト
環境はこんな感じ。マーケットからインストールするとこう。
C:\Users\yugoy>python -V
Python 3.10.11
C:\Users\yugoy>where python
C:\Users\yugoy\AppData\Local\Microsoft\WindowsApps\python.exe
依存モジュールが多そうなモジュールをインストール。
ここでnumpyも一緒にインストールされていう。
fortranが絡んできそうだけど、Windowsにはgfortranはない。どうやるんだろう。
どうもf2py.exeというのがインストールされている。fortranとpythonをここで変換しているっぽい。行列計算を高速にするためのfortranのはずだがこれは本当に高速なのか。
ちょっと心配だけど、fortranを使いまくるソースで別途ベンチマークをとることにする。
C:\Users\yugoy>pip install sox
Collecting sox
Downloading sox-1.4.1-py2.py3-none-any.whl (39 kB)
Collecting numpy>=1.9.0 (from sox)
Downloading numpy-1.26.1-cp310-cp310-win_amd64.whl.metadata (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB ? eta 0:00:00
Downloading numpy-1.26.1-cp310-cp310-win_amd64.whl (15.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 28.4 MB/s eta 0:00:00
Installing collected packages: numpy, sox
WARNING: The script f2py.exe is installed in 'C:\Users\yugoy\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed numpy-1.26.1 sox-1.4.1
WARNING: There was an error checking the latest version of pip.