Does anyone else have this issue? For reference check this screenshot:
PIP is also up to date and I already tried reinstalling it but it didn’t work neither. I’m using VS Code. It also worked just fine yesterday but today it didn’t anymore for some reason.
Advertisement
Answer
Your mss package is installed locally, but you are using a virtual environment to run code.
Two solutions:
1. Switch the interpreter to the local interpreter, which is the c:UsersAnwenderAppDataLocal....
in your picture
Ctrl+Shift+P to open the command palette, search for and select
Python:Select Interpreter
Select the interpreter with the
mss
package installed
2. Install the mss
package for your virtual environment