更改用户文件夹后,Pip失败

2024-07-05 11:21:39 发布

您现在位置:Python中文网/ 问答频道 /正文

当我重新安装我的电脑时,我犯了一个很大的错误,用我的名字和一个字母作为用户名。有时,我在somme程序上遇到了一些问题。因此,我决定更改用户文件夹名称,如下所示: https://superuser.com/questions/890812/how-to-rename-the-user-folder-in-windows-10[编辑]->https://superuser.com/a/1346983(链接到答案)

但是现在我在python方面遇到了一些问题。首先,我应该更改路径变量(这保持了锐度)。现在的问题是PIP:

C:\Users\Simeon>pip install numpy
Fatal error in launcher: Unable to create process using '"c:\users\simÚon\appdata\local\programs\python\python36\python.exe"  "C:\Users\Simeon\AppData\Local\Programs\Python\Python36\Scripts\pip.exe" install numpy'

它仍在查找以前的用户名(存在编码问题)。我如何解决这个问题(或正确地重新安装python)。
提前谢谢


Tags: installpiptoinnumpycom错误字母