Unable to launch python3

Unable to launch python3. Trying to create a spark session object.

[rocky2020@gw03 ~]$ python3

bash: python3: command not found…

Similar command is: ‘python’

Hold on, read this through before raising topic in this category

Are you getting Permission denied, too many logins issue?
Don’t raise new ticket. Click here for the solution. If the issue persists after 30 minutes then raise new ticket

Go through other common issues in this category before raising any issue.

If you want to know what are the python versions available tap on tab key for 2 times after typing python.

Please use python3.6

If you want to use python3.6 with spark.
Use this command before pyspark export PYSPARK_PYTHON=python3.6