728x90
import regex
할때 에러 발생
ImportError: dlopen(/opt/homebrew/Caskroom/miniforge/base/envs/tf/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so, 2): no suitable image found. Did find: /opt/homebrew/Caskroom/miniforge/base/envs/tf/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so: code signature in (/opt/homebrew/Caskroom/miniforge/base/envs/tf/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so) not valid for use in process using Library Validation: Trying to load an unsigned library
해당 이슈를 찾아본 결과 M1 노트북에서만 발생한다고함.. M1 너는 진짜...
터미널에 코드입력으로 해결
codesign -s - /opt/homebrew/Caskroom/miniforge/base/envs/tf/lib/python3.8/site-packages/regex/_regex.cpython-38-darwin.so
반응형
'Error Note' 카테고리의 다른 글
[Mac_M1]. tokenizer install error 해결하기 (0) | 2022.06.12 |
---|---|
[Mac_m1]. sentencepiece install error 해결하기 (0) | 2022.06.12 |
[Tensorflow] . failed to create cublas handle: CUBLAS_STATUS_INTERNAL_ERROR (0) | 2021.04.08 |
[Error] Instance of 'SQLAlchemy' has no 'Column' member (no-member) 에러 해결하기(feat. VSCode) (0) | 2020.10.30 |
[개발환경] Mac OS에서 아나콘다(Anaconda) 환경변수 설정하는 법 jupyter notebook 주피터 노트북 (0) | 2020.07.19 |