Good evening community.
I ask for help with such a problem: I can not set selenium for use in python.
Put pip, try pip install -U selenium .
It seems that such a package is found, but a UnicodeDecodeError occurs (not so rare for python).
Google assiduously, but so far I have not found a solution to the problem.
return getpass.getuser()did justreturn 'Andrey', and the problem was gone, but I repeat: not sure what exactly was your mistake. - BOPOH