今天在Apple M1芯片的Mac上跑python程序,import numpy 会在控制台输出以下错误:
Intel MKL WARNING: Support of Intel(R) Streaming SIMD Extensions 4.2 (Intel(R) SSE4.2) enabled only processors has been deprecated. Intel oneAPI Math Ke
rnel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.
排查了一圈,大概率是因为conda的版本太老,没有安装正确版本的numpy所致。
解决办法:更新conda和package
sudo conda update -n base -c defaults conda