I have pasted the path into the environment variables as follows:
C:\Users\username\AppData\Local\Programs\Python\Python37
I forgot to add the "python" application to the path as below:
C:\Users\username\AppData\Local\Programs\Python\Python37\python
once I have done that it worked fine :)