I resolved the issue by downgrading python to Python 3.9.16. After digging further into lots of forums. There was a member that presented a possible solution. I am not exactly sure but from the explanation of the forums I read the finger was pointed at ‘Python 3.12’ But I just wanted to put this here so if anyone else has a similar issue try downgrading to isolate the problem.