出错
ERROR: After October 2020 you may experience errors when installing or updating
packages. This is because pip will change the way that it resolves dependency co
nflicts.
We recommend you use --use-feature=2020-resolver to test your packages with the
new resolver before it becomes the default.
tbm-utils 2.6.0 requires attrs<19.4,>=18.2, but you'll have attrs 21.2.0 which i
s incompatible.
audio-metadata 0.11.1 requires attrs<19.4,>=18.2, but you'll have attrs 21.2.0 w
hich is incompatible.
Successfully installed audio-metadata-0.11.1 bitarray-2.2.1 bitstruct-8.11.1 min
iaudio-1.44 more-itertools-8.8.0 pendulum-2.1.2 pyatv-0.8.1 pytzdata-2020.1 tbm-
utils-2.6.0
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 --up
grade pip' command.
/config # pip install --upgrade attrs
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status
=None)) after connection broken by 'ProtocolError('Connection aborted.', Connect
ionResetError(104, 'Connection reset by peer'))': /simple/attrs/
Requirement already up-to-date: attrs in /usr/local/lib/python3.8/site-packages
(21.2.0)
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 --up
查询版本是这样的
/config # 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 --up
grade pip' command.
论坛有问题不能直接底下回复,可能我网络问题
好的谢谢,那下面这个提示不升级会有影响吗?
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 --up
grade pip' command.
好的 这样就可以了吧
/config # pip install --upgrade attrs
Requirement already up-to-date: attrs in /usr/local/lib/python3.8/site-packages
(21.2.0)
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 --up
grade pip' command.
`Logger: homeassistant.config_entries
Source: config_entries.py:698
First occurred: 24:51:45 (1 occurrences)
Last logged: 24:51:45`
`Error occurred loading configuration flow for integration apple_airplayer: No module named 'homeassistent'`
此错误来自自定义集成。
Logger: aiohttp.server
Source: custom_components/apple_airplayer/device_manager.py:9
Integration: Apple AirPlayer (documentation, issues)
First occurred: 15:35:59 (1 occurrences)
Last logged: 15:35:59
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 77, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 24, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 144, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 135, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 128, in post
return await super().post(request)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 63, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 72, in post
result = await self._flow_mgr.async_init(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 153, in async_init
flow, result = await task
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 171, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 696, in async_create_flow
integration.get_platform("config_flow")
File "/usr/src/homeassistant/homeassistant/loader.py", line 498, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 503, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 855, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/config/custom_components/apple_airplayer/config_flow.py", line 5, in <module>
from .device_manager import DeviceManager
File "/config/custom_components/apple_airplayer/device_manager.py", line 9, in <module>
DeviceModel.AirPortExpress: "AirPort Express",
File "/usr/local/lib/python3.9/enum.py", line 405, in __getattr__
raise AttributeError(name) from None
AttributeError: AirPortExpress