Solved by ptrblck in post #2 
              
              
                Could you print the sys.executable in your Python environment and inside the script? 
If you can run it in a REPL session, but not as a script, maybe you are not using the current Python install/environment.