Issue with install - error creating new virtual environment

When I try to “install” or “download” build to an unit, m5 atom, I get this error.

I am running esphome addons in the home-assistant is, the is is in a VM under unraid.
All my system are up to date.

Never used esphome before. Was using m5 for espresence in the past. But now trying to use esp for blé proxy and add ds18b20 sensors.

When I searched for the error, it’s from a few years and people said they went to the previous version of esphome and it worked until it was fixed in the release.

Since I seems to be alone, that’s probably not my case.

Any other idea ? How could I update my IDF python? Or how would I get back to previous version without affecting other integrations or ha directly?

esphome “creating a new virtual environment for idf python dependencies error: command ‘[’/root/.platformio/penv/.espidf-5.1.5/bin/python3’, ‘-m’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’]’ returned non-zero exit status 1.”

Any help would be appreciated.