每当我试图在get中安装pip时-点对点脚本,它只是给我错误。
以管理员身份运行cmd,已重新安装python。。在
我使用的是python2.7.9Exception:
Traceback (most recent call last):
File "c:\users\alex temporõr\appdata\local\temp\tmp13p7cp\pip.zip\pip\basecommand.py", line 232, in main
status = self.run(options, args)
File "c:\users\alex temporõr\appdata\local\temp\tmp13p7cp\pip.zip\pip\commands\install.py", line 339, in run
requirement_set.prepare_files(finder)
File "c:\users\alex temporõr\appdata\local\temp\tmp13p7cp\pip.zip\pip\req\req_set.py", line 355, in prepare_files
do_download, session=self.session,
File "c:\users\alex temporõr\appdata\local\temp\tmp13p7cp\pip.zip\pip\download.py", line 782, in unpack_url
session,
File "c:\users\alex temporõr\appdata\local\temp\tmp13p7cp\pip.zip\pip\download.py", line 667, in unpack_http_url
from_path, content_type = _download_http_url(link, session, temp_dir)
File "c:\users\alex temporõr\appdata\local\temp\tmp13p7cp\pip.zip\pip\download.py", line 841, in _download_http_url
file_path = os.path.join(temp_dir, filename)
File "C:\Python27\lib\ntpath.py", line 84, in join
result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 18: ordinal not in range(128)
好吧,确实是因为名字中的“ä”,改变了用户,安装得很好,多亏了Padraic Cunningham的指出。在