ESP32 CSI - エラー cannot import name '_lazywhere' from 'scipy._lib._util' 解決策

エラー

1
ImportError: cannot import name '_lazywhere' from 'scipy._lib._util'

原因と解決策

2025 年 6 月 23 日リリースした scipy 1.16.0 がサポートされていないのが原因である。

1.15.3 バージョンをインストールしたら問題が解決できる。

現在の scipy をアンインストールしてください。

1
pip uninstall scipy

1.15.3 バージョンの scipy をインストールしてください。

1
pip install scipy==1.15.3
Licensed under CC BY-NC-SA 4.0
Built with Hugo
Theme Stack designed by Jimmy