개발

[ERROR] WARNING: Secure coding is not enabled for restorable state!

ai4man 2024. 1. 17. 23:27
반응형

1. When

import matplotlib 작성 후 python 파일 실행 시 경고메시지와 함께 발생

 

2. Error Message

Python[41480:4408299] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

3. Solution

아직 알려진 바 없음.

 

-- 추가

conda를 통해 matplotlib 인스톨,

python 컴파일러 clang=15.0 사용

 

 

 

 

Python, matplotlib 최신 버전에서도 같은 에러 발생.

 

주로 맥 유저들 중 macOS Sonoma 업데이트 이후 발생하는 듯. 

 

-- 추가

 

matplotlib을 pip을 통해 인스톨하거나,

 

컴파일러 문제로, Python이 clang 15.0 대신 13.0을 사용할 때 발생하는 듯.

반응형