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.

  • one
    I do not remember exactly, but it seems like such an error occurred when the user name was written in Russian. It was treated by editing the source code - manually specifying the directory to which it was necessary to copy. Look, maybe you have the same problem. UPD: in the Python27 \ Lib \ site-packages \ pip-1.5.4-py2.7.egg \ pip \ locations.py function in __get_username instead of return getpass.getuser() did just return 'Andrey' , and the problem was gone, but I repeat: not sure what exactly was your mistake. - BOPOH
  • Thanks for the advice. I haven’t solved this problem yet, but I achieved it with the help of easy_install - Archie
  • one
    In such cases, a full traceback can help diagnose the problem. - jfs
  • one
    @Archie, has anyone advised you to use some linux distribution instead of windows for programming in python? - Montreal
  • @Montreal, We advised, and I follow these tips) But now it took urgently and on another machine. - Archie

0