So here's the problem. WSL has a different version of python installed, as opposed to your windows machine. You can link them like this:
Run these commands in WSL:
$ sudo apt remove python3 python3-pip$ sudo apt autoremove
Now in your .bashrc
on WSL, add the following:
alias python3="cmd.exe /C python3"alias pip3="cmd.exe /C pip3"
Now restart your WSL application, and there! It should work! This worked for me very well...