2017-02-06 1 views
1

pip install과 함께 TensorFlow를 설치하면 Broken toolchain 오류로 끝나는 몇 가지 메시지가 생성됩니다.pip install 명령으로 인해 깨진 도구 체인 오류가 발생합니다.

...<lots of warnings and errors> 

You have not agreed to the Xcode license agreements, please run 
'xcodebuild -license' (for user-level acceptance) or 
'sudo xcodebuild -license' (for system-wide acceptance) from within a 
Terminal window to review and agree to the Xcode license agreements. 

...<more stack trace output> 

    File "numpy/core/setup.py", line 653, in get_mathlib_info 

    raise RuntimeError("Broken toolchain: cannot link a simple C program") 

RuntimeError: Broken toolchain: cannot link a simple C program 

답변

1

오류가 Xcode 빌드 도구 시스템, 에 설치되어 있지만 아직 라이센스 계약을 승인하지 않았 음을 나타냅니다 : 여기에 성적 증명서의 일부입니다. 이 문제를 해결하려면 다음 중 하나를 수행합니다

  1. 열기 Xcode 및 사용권 계약에 동의합니다.

    xcodebuild -license 
    

    은 자세한 내용 xcodebuild documentation를 참조하십시오 :

  2. 다음 명령을 호출합니다.

관련 문제