Python/Python Basic

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 Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions. Err..

CosmosProject 2024. 4. 1. 23:38
728x90
반응형

 

 

 

M1 이상의 Macbook으로 Python을 쓰다보면 아래와 같은 에러가 발생할 수 있습니다.

 

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 Kernel Library 2025.0 will require Intel(R) Advanced Vector Extensions (Intel(R) AVX) instructions.

 

M1 칩 때문에 발생하는 에러인데

numpy, matplotlib, pandas 등을 설치하면 자동으로 mkl이라는 모듈이 설치될 수 있습니다.

 

이때 mkl 모듈이 충돌을 일으켜서 위 에러가 발생하는 것입니다.

 

따라서 mkl과 mkl-service 모듈을 지우고, nomkl을 먼저 설치한 후, 그 다음 내가 원하는 library(e.g. numpy, matplotlib, pandas 등)를 설치하면 에러가 해결됩니다.

 

conda remove mkl mkl-service
conda install nomkl

 

 

pip uninstall mkl mkl-service
pip install nomkl

 

 

 

 

 

728x90
반응형