A second thing you can try is to place the full path of your python installation into your PYTHON_BIN variable. It can be found under Manage external tools > sen2cor - Edit > System variables. Maybe a wrong python version is addressed. (explained here)