python version:3.7.5
Home Assistant Version: 0.101.3
Please help me. Thank you so much.
log:
/usr/lib/arm-linux-gnueabihf/libssl.so.1.1: version OPENSSL_1_1_1' not found (required by /home/pi/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so) Traceback (most recent call last): File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service connection.context(msg), File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1236, in async_call await asyncio.shield(self._execute_service(handler, service_call)) File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/core.py", line 1261, in _execute_service await handler.func(service_call) File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_component.py", line 213, in handle_service self._platforms.values(), func, call, service_name, required_features File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 348, in entity_service_call future.result() # pop exception if have File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/service.py", line 370, in _handle_service_platform_call await getattr(entity, func)(**data) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/components/xiaomi_aqara/switch.py", line 133, in turn_off if self._write_to_hub(self._sid, **{self._data_key: "off"}): File "/home/pi/homeassistant/lib/python3.7/site-packages/xiaomi_gateway/__init__.py", line 346, in write_to_hub data['key'] = self._get_key() File "/home/pi/homeassistant/lib/python3.7/site-packages/xiaomi_gateway/__init__.py", line 402, in _get_key backend=default_backend()).encryptor() File "/home/pi/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/backends/__init__.py", line 15, in default_backend from cryptography.hazmat.backends.openssl.backend import backend File "/home/pi/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/__init__.py", line 7, in <module> from cryptography.hazmat.backends.openssl.backend import backend File "/home/pi/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py", line 75, in <module> from cryptography.hazmat.bindings.openssl import binding File "/home/pi/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 15, in <module> from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: /usr/lib/arm-linux-gnueabihf/libssl.so.1.1: version
OPENSSL_1_1_1’ not found (required by /home/pi/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so)
Is there anyone know this quesion?
The problem is you haven’t installed all the required packages. It’s not a Home Assistant problem, but one with your OS, whatever that is.
It’s done.
Because.Python3.7 it needs openssl 1.1.1
wget https://www.openssl.org/source/openssl-1.1.1c.tar.gz
tar zxvf openssl-1.1.1c.tar.gz
cd openssl-1.1.1c/
./config
make install
cp libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/
cp libssl.so.1.1 /usr/lib/x86_64-linux-gnu/
rm /usr/bin/openssl
ln -s /usr/local/bin/openssl /usr/bin/openssl
openssl version