『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1336|回复: 2

[技术探讨] Mac版装到这里卡主了,求助大神

[复制链接]

6

主题

33

帖子

219

积分

中级会员

Rank: 3Rank: 3

积分
219
金钱
186
HASS币
0
发表于 2022-1-27 01:08:26 | 显示全部楼层 |阅读模式
Mac版装到这里卡主了,求助大神

Building wheels for collected packages: ciso8601, yarl
  Building wheel for ciso8601 (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/d4/hg59j3950n134tbg5zw71wqc0000gn/T/tmpb8fu6a1s
       cwd: /private/var/folders/d4/hg59j3950n134tbg5zw71wqc0000gn/T/pip-install-7ouk3s3m/ciso8601_9f6eb28b7f274f1cb9df6be67d8d004b
  Complete output (14 lines):
  running bdist_wheel
  running build
  running build_py
  package init file 'ciso8601/__init__.py' not found (or not a regular file)
  creating build
  creating build/lib.macosx-10.9-universal2-3.10
  creating build/lib.macosx-10.9-universal2-3.10/ciso8601
  copying ciso8601/__init__.pyi -> build/lib.macosx-10.9-universal2-3.10/ciso8601
  copying ciso8601/py.typed -> build/lib.macosx-10.9-universal2-3.10/ciso8601
  running build_ext
  creating build/temp.macosx-10.9-universal2-3.10
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DCISO8601_VERSION=2.2.0 -DCISO8601_CACHING_ENABLED=1 -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c module.c -o build/temp.macosx-10.9-universal2-3.10/module.o
  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
  ----------------------------------------
  ERROR: Failed building wheel for ciso8601
  Building wheel for yarl (pyproject.toml) ... error
  ERROR: Command errored out with exit status 1:
   command: /Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/d4/hg59j3950n134tbg5zw71wqc0000gn/T/tmpikmha5dn
       cwd: /private/var/folders/d4/hg59j3950n134tbg5zw71wqc0000gn/T/pip-install-7ouk3s3m/yarl_1cb9724ce55345aea8db350047169b4f
  Complete output (32 lines):
  **********************
  * Accellerated build *
  **********************
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.9-universal2-3.10
  creating build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/_url.py -> build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/_quoting_py.py -> build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/__init__.py -> build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/_quoting.py -> build/lib.macosx-10.9-universal2-3.10/yarl
  running egg_info
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.cache' found anywhere in distribution
  warning: no previously-included files found matching 'yarl/*.html'
  warning: no previously-included files found matching 'yarl/*.so'
  warning: no previously-included files found matching 'yarl/*.pyd'
  no previously-included directories found matching 'docs/_build'
  writing manifest file 'yarl.egg-info/SOURCES.txt'
  copying yarl/__init__.pyi -> build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/_quoting_c.c -> build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/_quoting_c.pyi -> build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/_quoting_c.pyx -> build/lib.macosx-10.9-universal2-3.10/yarl
  copying yarl/py.typed -> build/lib.macosx-10.9-universal2-3.10/yarl
  running build_ext
  creating build/temp.macosx-10.9-universal2-3.10
  creating build/temp.macosx-10.9-universal2-3.10/yarl
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c yarl/_quoting_c.c -o build/temp.macosx-10.9-universal2-3.10/yarl/_quoting_c.o
  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
  ----------------------------------------
  ERROR: Failed building wheel for yarl
Failed to build ciso8601 yarl
ERROR: Could not build wheels for ciso8601, yarl, which is required to install pyproject.toml-based projects

回复

使用道具 举报

6

主题

743

帖子

5962

积分

论坛元老

Rank: 8Rank: 8

积分
5962
金钱
5214
HASS币
20
发表于 2022-1-27 10:54:52 | 显示全部楼层
用Docker for mac安装
回复

使用道具 举报

6

主题

33

帖子

219

积分

中级会员

Rank: 3Rank: 3

积分
219
金钱
186
HASS币
0
 楼主| 发表于 2022-1-28 13:36:41 | 显示全部楼层
mitu 发表于 2022-1-27 10:54
用Docker for mac安装

谢谢大佬
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-28 02:32 , Processed in 0.174563 second(s), 25 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表