Hass problem with installing

Hi

I have problem with installing Home Assistant. I used Raspberry Pi3 I try install Home Assistant Core. Everything was OK but when I used commend “Hass” I saw something like that

homeassistant@pi:/srv/homeassistant$ hass --debug
Traceback (most recent call last):
  File "/srv/homeassistant/bin/hass", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/__main__.py", line 171, in main
    args = get_arguments()
           ^^^^^^^^^^^^^^^
  File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/__main__.py", line 81, in get_arguments
    from . import config as config_util
  File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/config.py", line 20, in <module>
    from . import auth
  File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/auth/__init__.py", line 10, in <module>
    import jwt
  File "/srv/homeassistant/lib/python3.11/site-packages/jwt/__init__.py", line 1, in <module>
    from .api_jwk import PyJWK, PyJWKSet
  File "/srv/homeassistant/lib/python3.11/site-packages/jwt/api_jwk.py", line 7, in <module>
    from .algorithms import get_default_algorithms, has_crypto, requires_cryptography
  File "/srv/homeassistant/lib/python3.11/site-packages/jwt/algorithms.py", line 12, in <module>
    from .utils import (
  File "/srv/homeassistant/lib/python3.11/site-packages/jwt/utils.py", line 7, in <module>
    from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
  File "/srv/homeassistant/lib/python3.11/site-packages/cryptography/hazmat/primitives/asymmetric/ec.py", line 11, in <module>
    from cryptography.hazmat._oid import ObjectIdentifier
  File "/srv/homeassistant/lib/python3.11/site-packages/cryptography/hazmat/_oid.py", line 9, in <module>
    from cryptography.hazmat.bindings._rust import (
ImportError: libssl.so.3: nie można otworzyć pliku obiektu dzielonego: Nie ma takiego pliku ani katalogu

What I need to do to go through for this issue???

Looks to be a problem with libssl.so.3

  1. What OS and what version of the OS are you running?
  2. Any reason not just to use Docker?

OS what I have on raspberry pi
Linux pi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
OS home assistant
2023.10.01

The reason I don’t use Docker is that I have Raspberry yet additionally Home Bridge

You flashed Home Assistant OS to that Pi?

If so you already have Core installed.

Could you explain me what do you mean flashed home assistant? Yes I have installed Home assistant to Pi3

There are many ways of installing Home Assistant (well, three really).

You can:

  1. Download the Home Assistant OS image and flash it to your SD card/write it to the boot drive
  2. Use Docker (run or compose)
  3. Use pip install

If you did the first two then you wouldn’t be running hass.

I used pip install

Then that’s not the case.

Can I recommend you switch to Docker: https://docs.docker.com/engine/install/raspberry-pi-os/ and https://www.home-assistant.io/installation/raspberrypi#install-home-assistant-container

I want to install home assistant core method And I used this method it appear problem with hass

I guess you are running bullseye ? Upgrade to bookworm.

Honestly, as somebody who uses it, there’s rarely a good reason to bother when Docker is just so much more convenient.

However, have you installed the package that’ll provide the missing library?