adminiatrator uses fingerprints, python coding errors

Cause: Installing python, unable to update pip, reporting an error encoding problem, related to the name of the local account (because python has a python.exe program under the local account, this program will be called when executing commands, although my installation path is not the C drive ). Only then did I realize that my local account name was in Chinese characters.

Tried various coding change methods of online bigwigs, various postures of updating pip, but to no avail. It is still impossible to bypass the error reporting problem caused by the encoding problem. It's been a long day at this point! ! ! ! I am also angry!

emmm I don't keep my master here, I have my own place to stay with my master, and the man can bend and stretch. After repeated consideration, I gave up the way of modifying the coding problem to solve the error report.

So I tried to change the account name to English (even if it is pinyin) to bypass the pitfall that the local account contains Chinese characters. Sure enough, it was useless. . .

Still angry, go to the registry to modify the local account name (remember to allow super account login in the local user group first), log out, restart, log in, I can’t log in directly with this tmd; then I can only restore the original account name to guarantee myself I can log in and back up my own files.

Cut, don’t leave me anywhere, we have a way to survive, then I will use the administrator directly for the rest of my life (I believe the super tube is still very strong)

Later, I tried to install python under the account of the administrator, and found that it could be installed, so I gritted my teeth and stamped my feet, and decided to migrate all the traces of the local account to the administrator. The configuration was updated to the super account, and I thought about entering my fingerprints. After that, the operation will be smooth and beautiful... However, something that makes people speechless still happened, It is impossible to enter fingerprints and faces at all (inner os: I lost it! The new computer is so broken?!), try to update the driver, restart N times, and find that only the original local account can enter fingerprints, then the entry function should be It is no problem, so after tossing a lot of back and forth, I broke the defense, and directly consulted the after-sales service to see if there is any solution:

Well, thank you, so far I have roughly understood a few questions:

  1. For newly purchased equipment, try to use English or pinyin when setting the user name, so as to avoid the problem of running error after installing some software

  1. Devices with fingerprint function are only applicable to accounts other than administrator

那么,我要不要再次创建一个新的本地账户,既能使用指纹登录,又能不影响我使用python呢?

可我不想再次重新安装一遍其他的软件哇呜呜呜,,,

总结:python编码问题很多大佬都无法彻底解决,总是会在不经意的时候冒出来,非常影响整体的工作效率,尤其是本地账户是包含汉字的设备,这会让人很头疼,建议使用administrator安装软件,在当前账户下使用。

赠与有专业需求的伙伴们参考。少走弯路。

谨以此文纪念我那些无奈的抗争......

Guess you like

Origin blog.csdn.net/woai_zhongguo/article/details/129404419