Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install failure on MAC and solution #5

Open
tashrifbillah opened this issue Apr 25, 2020 · 0 comments
Open

pip install failure on MAC and solution #5

tashrifbillah opened this issue Apr 25, 2020 · 0 comments

Comments

@tashrifbillah
Copy link

This is an FYI for us, unless something could be done at our end:

Description

pip install trako fails on the following machine with error:

Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64

  CMake Error at /private/var/folders/95/rd3r2vcj7v1849zn09y3gsfh0000gn/T/pip-build-env-vd0klg3x/normal/lib/python3.6/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.14/Modules/CMakeTestCCompiler.cmake:60 (message):
    The C compiler
  
      "/usr/bin/cc"
  
    is not able to compile a simple test program.
  
    It fails with the following output:
  
      Change Dir: /private/var/folders/95/rd3r2vcj7v1849zn09y3gsfh0000gn/T/pip-install-mi3pkjjf/TrakoDracoPy/_cmake_test_compile/build/CMakeFiles/CMakeTmp
  
      Run Build Command(s):/usr/bin/make cmTC_b9f82/fast
      xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
...
...
  ********************************************************************************
  scikit-build could not get a working generator for your system. Aborting build.
  
  Building MacOSX wheels for Python 3.6 requires XCode.
  Get it here:
  
    https://developer.apple.com/xcode/
  
  ********************************************************************************
  ----------------------------------------
  ERROR: Failed building wheel for TrakoDracoPy

Solution

xcode-select --install

Afterwards, trako builds fine. It looked like the OSX enabled clang support on the way. cc @pieper

Reference

https://ma.ttias.be/mac-os-xcrun-error-invalid-active-developer-path-missing-xcrun/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant