Mbed cli problem in compilation

Hello, I am trying to compile the blinky example offline. I have installed the GCC_ARM toolchain and I use the STM32 NUCLEO-F429ZI. I had set the global path and I ran the command “mbed compile -t GCC_ARM -m NUCLEO_F429ZI”. The compilation goes until the 100% and ends to
[mbed] ERROR: “/usr/bin/python” returned error.
Code: 1

Any ideas about that?

Solved. Need to install specific edition of gcc-arm