pip 报错Traceback (most recent call last):

1.报错:
Traceback (most recent call last):
File “f:\python3.5\lib\runpy.py”, line 170, in _run_module_as_main
main”, mod_spec)
File “f:\python3.5\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "F:\python3.5\Scripts\pip.exe_main
.py", line 5, in
ImportError: No module named ‘pip’

解决方法:
重新安装pip,在cmd中运行命令如下:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.5 get-pip.py --force-reinstall

你可能感兴趣的:(python)