Python related issue?

WHat is the current Python version in the latest version of HA?
Mine says Python 3.12.9

I’m confused because I have some errors in the log pointing to /usr/local/lib/python3.13/site-packages

I run HAOS 15 and Core 2025.3.4

How to troubleshoot this,
THanks for any help you might give me.

3.13.2
You might not be running the command in the homeassistant container or you are running in a non-docker or non-HAOS installation where you need to install it yourself.

I use:

  • Core: 2025.3.4
  • Supervisor: 2025.03.3
  • Operating System: 15.0
  • Frontend: 20250306.0

And I run the command from the Advanced SSH & Web Terminal add-on

That is another docker container. It could just as well have been a completely different hardware server.

:grimacing: learning all the time

@WallyR Do you know how to access /usr/local/lib/python3.13/site-packages to check which files are in there?

I use the console directly, so either a monitor and keyboard connected to the HA server or if you run a supervisor then the console page in that.

At the HA prompt type login to get to a normal linux shell.
Now use the Docker commands to run commands in the containers, like

docker container exec homeassistant ls ,/bin

Hi Wally,

Sorry for my ignorence but I need more guidance here. Do you have a step by step example

  • Connect keyboard and monitor to you HA server
  • type “login” and hit enter
  • type “docker container exec homeassistant ” and hit enter

Hi Wally,
Thank you very much.
You saved me, and now my problem is solved with the custom integration.