在M上安装kivy

2024-10-01 00:30:44 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在Mac OS上安装ivy,我遇到了一个错误,没有文档可以解决这个问题。当我尝试pip安装kivy时,会发生以下情况。提前谢谢你的帮助

     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 status 1
Command "/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/private/var/folders/lp/jxxpxhsn17l_mvy8wsg953m80000gn/T/pip-build-qr4i977k/kivy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/lp/jxxpxhsn17l_mvy8wsg953m80000gn/T/pip-j52ad4nr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/lp/jxxpxhsn17l_mvy8wsg953m80000gn/T/pip-build-qr4i977k/kivy/

Tags: pipdeveloperbinvarlibrarycodeerrorrecord