It’s fixed!! I should have mentioned that the spyder I was using was under the anaconda suite. When I opened anaconda there was a notice of a new version. I got an error when I attempted to update so I deleted everything that had to do with anaconda. Installed the updated version and its working fine.
Thanks for your help. Appreciate you working with me