When upgrading weditor, an error is reported: UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 825: illegal multibyte sequence
I checked several methods on the Internet, tried several wrong methods, and found that environment variables need to be set to install normally, so I recorded it for myself, and it is also convenient for other programmers to eat.