thank you for your quick reply
Everything is working properly now.
In fact, I think something changed between my first version of OS and MOJAVE because I had never changed ‘bashrc’, but only run an ‘export’ and everything worked. As a result of a problem with my PC I did a reset, which installed me MOJAVE and caused this problem.
It does not matter, now everything works.