Getting this error "import robot" all the time

I am new trying to learn AutomationTesting and I am facing this error
Can someone please help me ?

Hi Viki,

It seems you don’t have robot framework installed, the hint at the end of the message tells you, you can try

pip install robotframework

Have you tried this already? if so you might be encountering an issue with multiple python environments because /Library/Developer/CommandLineTools/usr/bin/python3 is not the standard install location for python on a Mac

Maybe try exactly as the message says

/Library/Developer/CommandLineTools/usr/bin/python3 -m pip install robotframework

so that robot framework is installed in that python environment.

Hope that helps,