I also encountered this issue. I tried all of the methods provided here, but nothing worked. The packages were being installed under Python 3.13, but my VS Code interpreter was set to Python 3.12. Once I changed my interpreter to Python 3.13, everything worked.
To change the interpreter, press Ctrl+Shift+P
in VS Code and type Python: Select Interpreter
, then select the Python 3.13 interpreter.