involute
发表于 2021-7-10 21:43:59
zonglong 发表于 2021-7-10 21:24
Hassos (core2021.7.x , python3.9.x) 装不起来 ,
ha core 2021.7.1 run Mac (python 3.9.x) 装不起来 ...
请确认各机上的pyatv版本,命令是
pip list | grep pyatv
如果没有输出或者输出的版本不是0.8.1或以上,请安装或升级pyatv
yinghu183
发表于 2021-7-10 22:02:14
本帖最后由 yinghu183 于 2021-7-10 22:04 编辑
bash-5.1# pip list | grep pyatv
pyatv 0.7.7
WARNING: You are using pip version 20.2.4; however, version 21.1.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
是PIP版本低了导致我前面升级pyatv没有成功吗?
involute
发表于 2021-7-10 22:18:26
yinghu183 发表于 2021-7-10 22:02
是PIP版本低了导致我前面升级pyatv没有成功吗?
不应该是pip版本的问题
你再执行一下gcc,你看gcc安装成功了吗?
yinghu183
发表于 2021-7-10 22:32:46
involute 发表于 2021-7-10 22:18
不应该是pip版本的问题
你再执行一下gcc,你看gcc安装成功了吗?
小白不太明白,请教GCC就是下面两行命令安装的吗?
apk update
apk add build-base
blindlight
发表于 2021-7-10 22:55:57
先给个star再说
involute
发表于 2021-7-10 23:03:27
yinghu183 发表于 2021-7-10 22:32
小白不太明白,请教GCC就是下面两行命令安装的吗?
你看输出是啥啊,有安装过程吗?pip install --upgrade pyatv的时候,有报错无法找到gcc吗?
yinghu183
发表于 2021-7-10 23:14:01
involute 发表于 2021-7-10 23:03
你看输出是啥啊,有安装过程吗?pip install --upgrade pyatv的时候,有报错无法找到gcc吗? ...
一大堆错误。。。。 Building wheel for bitarray (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv = '"'"'/tmp/pip-install-e6kk0png/bitarray/setup.py'"'"'; __file__='"'"'/tmp/pip-install-e6kk0png/bitarray/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-z3lfwsr_
cwd: /tmp/pip-install-e6kk0png/bitarray/
Complete output (22 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/bitarray
copying bitarray/__init__.py -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/test_bitarray.py -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/test_util.py -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/util.py -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/bitarray.h -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/pythoncapi_compat.h -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/test_data.pickle -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/py.typed -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/__init__.pyi -> build/lib.linux-x86_64-3.9/bitarray
copying bitarray/util.pyi -> build/lib.linux-x86_64-3.9/bitarray
running build_ext
building 'bitarray._bitarray' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/bitarray
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fno-semantic-interposition -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.9 -c bitarray/_bitarray.c -o build/temp.linux-x86_64-3.9/bitarray/_bitarray.o
error: command 'gcc' failed: No such file or directory
----------------------------------------
ERROR: Failed building wheel for bitarray
involute
发表于 2021-7-11 00:20:33
yinghu183 发表于 2021-7-10 23:14
一大堆错误。。。。
error: command 'gcc' failed: No such file or directory
你这个gcc没有安装成功
yinghu183
发表于 2021-7-11 00:49:39
involute 发表于 2021-7-11 00:20
你这个gcc没有安装成功
又重装了一边,版本已经是0.8.1了,集成尝试了一下提示无法加载配置,太晚了明天再搞了。大佬幸苦,感谢!
bash-5.1# pip list | grep pyatv
pyatv 0.8.1
WARNING: You are using pip version 20.2.4; however, version 21.1.3 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
zonglong
发表于 2021-7-11 09:47:49
involute 发表于 2021-7-10 21:43
请确认各机上的pyatv版本,命令是
都確定是 0.8.1
页:
1
[2]
3
4
5
6
7
8
9
10
11