Upgrading from 2022.10.1 to last version

After I’ve upgrade to latest version ,I get ‘entity unavailable :switch…’ to all switches.
Please yours advice.

Look for clues in Settings → System → Logs.

Since version 2022.10 including current version, I have to run
‘pip3 install numpy --no-cache-dir --force-reinstall --no-binary :all:’
following the error appears in the log, which led to error [u]of the mqtt and mpeg devices.
This fix the problem. I’ve start doing this after reading in the forums about the error .
I run the above line within the virtual environment .Can someone know the way
to fix the problem once and for all?