各位大佬,我一时手贱更新了pip,结果在cmd里输入pip list之后显示:
C:\Users\12268>pip list
Traceback (most recent call last):
File "d:\python3.5.1\lib\runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "d:\python3.5.1\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\python3.5.1\Scripts\pip.exe\__main__.py", line 5, in <module>
File "d:\python3.5.1\lib\site-packages\pip\_internal\cli\main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
这该如何解决呢?谢谢各位!(我的python是3.5版本)