Tools Script has an error: Command not found

Hi everyone
I see this massage when I open the terminal :

also, I get an error with the title $‘\r’ : command not found when I run Tools/environment_install/install-prereqs-ubuntu.sh -y :

I tried to use the following guide to fix the first problem, but I still have this problem.

I also updated git sub modules with git submodule update --init --recursive command.
And the next point is that I cloned the project from Windows through Git.
Please share with me if you have any solution.

Hi @nrgs_barani,

I guess you’re trying to setup a build environment on Ubuntu? … but then mention cloning the project from Windows which I don’t quite understand…

Our Build-the-code instructions are here.

FYI @khancyr

you got line ending issue. Please clone directly from your linux VM or configure git on on Windows to LF as line ending.

1 Like