I too got this error, If any one of the above solution didn't work then. check your python version it should be between 3.8 to 3.12. Because I was using the 3.13 you just need to uninstall previous version install python version between 3.8 to 3.12.