반응형 tensor flow.keras1 [TensorFlow 2.8] Import "tensorflow.keras" could not be resolved Pylance(reportMissingImports) 경고 해결하기 - 컴퓨터: M1 맥북에어 - 아나콘다 버전: conda 4.12.0 - Python 버전: 3.9.7 - TensorFlow 버전: 2.8.0 (기존) > 2.6.0 (변경) 어느 순간부터 tensorflow를 사용하는데 경고가 뜨기 시작했습니다. 정상적으로 설치된 것을 확인했고 코드가 정상적으로 실행되니 그냥 써도 상관은 없지만 신경 쓰여서 해결 방법을 좀 찾아봤습니다. 발생하는 경고는 다음과 같습니다. tensorflow.keras를 통해서 import를 하는 대상들에 대해서 경고를 띄웁니다. (글 작성 시점 2022년 04월 04일) Import "tensorflow.keras.preprocessing.image" could not be resolvedPylance(reportMissingImpo.. 2022. 4. 4. 이전 1 다음 반응형