Process exited with code: 127 Python3

#1

bash: line 1: python3: command not found

Hi there im getting this error when i try to run a simple python script. Python 3.5 is installed. I did also create an alias for python3.5 but it still doesent work. what am i missing

#2

I’v managed to fix it with
ln -snf python2.7 /usr/bin/python
and
ln -snf python3.5 /usr/bin/python3