ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\SG\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\tensorflow\\include\\external\\com_github_grpc_grpc\\src\\core\\ext\\filters\\client_channel\\lb_policy\\grpclb\\client_load_reporting_filter.h'
HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths
HINT에 써있는 내용대로 설치 주소가 너무 길어서 pip 설치가 제대로 되지 않는 오류입니다.
1️⃣ 삭제 후 재설치
pip uninstall 라이브러리
pip install 라이브러리
또는
2️⃣ 긴 경로 사용으로 바꿔주기
검색창에 로컬 그룹 정책 편집을 검색해줍니다.
관리 템플릿 -> 시스템 -> 파일 시스템까지 클릭하고 Win32 긴 경로 사용을 눌러줍니다.
사용 -> 확인 해줍니다