Can't upgrade due to cryptography (and pip)

Hello,
trying to upgrade core 2022.9.4 to 2022.10.
I get this:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
hass-nabucasa 0.55.0 requires cryptography<38.0,>=2.8, but you have cryptography 38.0.1 which is incompatible.

Meanwhile my pip says:

[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: pip install --upgrade pip

I upgraded and now I get:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
homeassistant 2022.10.4 requires pip<22.3,>=21.0, but you have pip 22.3 which is incompatible.

DOUBLE STRIKE! :slight_smile:

Beside pip (I revert it back), how I can deal with cryptography ?

Thanks!

Just found this thread:
https://community.home-assistant.io/t/cannot-upgrade-to-2022-10/473006/8

With

sudo apt-get install libatlas-base-dev

and

pip3 install --upgrade hass-nabucasa==0.56.0

I just resolved!