Sorry, don’t know the answer to this one, but looping in @gmh1977 , @gjmount , @AntrikshSharma , and @Greg, who all know Python and hopefully can help you with this one.
After a few hours of playing around and running it on my laptop it worked. The problem was in fact the spacing in the file path (See pic below). Some reason it does not play nice if detects a space. I rectified this my creating a new user profile