[Mac] 安装paddle-pipelines出现 ERROR: Failed building wheel for lmdb

今天在mac换了新系统,然后重新安装paddle-piplines的时候出现了下面的问题:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for lmdb

解决方法

xcode-select --install

参考文献

ERROR: Could not build wheels for greenlet, which is required to install pyproject.toml-based projects

你可能感兴趣的:(macos,paddle)