코드를 실행하던 중에
from skimage import io
이 녀석만 하면 아래 문구가 나오면서 커널이 죽었다...
The Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click here for more info. View Jupyter log for further details.
그래서 로그를 확인해보니
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
이런 로그가 찍혀있었다.
여기저기 찾아보니, intel의 MKL를 사용할 때
서로 다른 패키지가 중복된 라이브러리를 불러오려고 하면서 발생하는 에러라고 한다.
해결방법은
import os
os.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
이 코드를 적용해서, 중복된 라이브러리 불러와도 무시해라! 라고 설정해주면 된다.

'즐거운 에러 대잔치' 카테고리의 다른 글
pycaret이 전처리 된 데이터 프레임을 반환하지 않을 때 (1) | 2023.11.25 |
---|---|
PackagesNotFoundError: The following packages are not available from current channels (0) | 2023.11.21 |
RTX 3090, 3080을 위한 pytorch 버전 (0) | 2023.10.27 |
cv2 VideoWriter 동영상 저장이 안될 때, 화면이 안나올 때 (0) | 2023.10.18 |
Failed to load OpenH264 library: openh264, Could not open codec libopenh264 (0) | 2023.10.18 |