🐛 macOS brew 安装报错
问题简述
Mac M1 pro 上使用brew安装报错
$brew tap siguremo/tap $brew install yutto
…… ==> Installing yutto from siguremo/tap ==> python3.10 -m venv --system-site-packages /opt/homebrew/Cellar/yutto/2.0.0b14/libexec ==> /opt/homebrew/Cellar/yutto/2.0.0b14/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/yutto--aiofiles-20220615-45882-18pu2rt/aiofiles-0.8.0 ==> /opt/homebrew/Cellar/yutto/2.0.0b14/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/yutto--aiohttp-20220615-45882-isweuq/aiohttp-3.8.1 ==> /opt/homebrew/Cellar/yutto/2.0.0b14/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/yutto--aiosignal-20220615-45882-18hwxfw/aiosignal-1.2.0 ==> /opt/homebrew/Cellar/yutto/2.0.0b14/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/yutto--async-timeout-20220615-45882-a45cpa/async-timeout-4.0.2 ==> /opt/homebrew/Cellar/yutto/2.0.0b14/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/yutto--attrs-20220615-45882-1ede57r/attrs-21.4.0 ==> /opt/homebrew/Cellar/yutto/2.0.0b14/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/yutto--biliass-20220615-45882-n9adjl/biliass-1.3.5 Last 15 lines from /Users/goodryb/Library/Logs/Homebrew/yutto/07.pip: setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/private/tmp/yutto--biliass-20220615-45882-n9adjl/biliass-1.3.5/setup.py'"'"',), "
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available. You should consider upgrading via the '/opt/homebrew/Cellar/yutto/2.0.0b14/libexec/bin/python3.10 -m pip install --upgrade pip' command.
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/siguremo/homebrew-tap/issues
复现方式
$brew install yutto
环境信息
- OS: 操作系统类型及其版本号 macOS 12.4
- Python: Python 版本号 (
python --version) Python 3.9.13 - yutto: yutto 版本号 (
yutto -v) 无 - FFmpeg: FFmpeg 版本号 (
ffmpeg -version) 无 - 如果是显示相关问题
- Shell: Shell 类型 (
echo $SHELL) zsh - Terminal: 终端类型 iterm2
- Shell: Shell 类型 (
- Others: 其它信息
额外信息
No response
一点点的自我检查
- [X] 充分阅读 README.md,特别是与本 issue 相关的部分
- [X] 如果是网络问题,已经检查网络连接、设置是否正常,并经过充分测试认为这是 yutto 本身的问题
- [X] 本 issue 在 issues 和 discussion 中并没有重复问题
奇怪,我卸了重装也没有这样的问题,看起来是在 biliass 那里安装出错了,但我没看到什么有用的信息啊……
请问重试也不行吗?清理掉所有包的 cache 重试一下