|

楼主 |
发表于 2019-9-11 18:37:14
|
显示全部楼层
C:\Users\小米笔记本>python -m pip install --upgrade pip
Collecting pip
Using cached https://files.pythonhosted.org/packages/30/db/9e38760b32e3e7f40cce46dd5fb107b8c73840df38f0046d8e6514e675a1/pip-19.2.3-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 7.1.2
Exception:
Traceback (most recent call last):
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\basecommand.py", line 211, in main
status = self.run(options, args)
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\commands\install.py", line 311, in run
root=options.root_path,
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\req\req_set.py", line 640, in install
requirement.uninstall(auto_confirm=True)
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\req\req_install.py", line 673, in uninstall
for path in pip.wheel.uninstallation_paths(dist):
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\wheel.py", line 512, in unique
for item in fn(*args, **kw):
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\wheel.py", line 531, in uninstallation_paths
r = csv.reader(FakeFile(dist.get_metadata_lines('RECORD')))
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1619, in get_metadata_lines
return yield_lines(self.get_metadata(name))
File "C:\Users\小米笔记本\AppData\Local\Programs\Python\Python35\lib\site-packages\pip\_vendor\pkg_resources\__init__.py", line 1616, in get_metadata
return self._get(self._fn(self.egg_info, name)).decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 22367: invalid continuation byte
You are using pip version 7.1.2, however version 19.2.3 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command. |
|