更新pip模块的版本:python -m pip install --upgrade pip
但是遇到报错提示:
Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。: 'c:\program files (x86)\python\python37\lib\site-packages\pip-19.0.3.dist-info\entry_points.txt'
Consider using the --user
option or check the permissions.
You are using pip version 19.0.3, however version 19.2.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
说是权限不够,可以尝试下面的命令行输入:python -m pip install --user --upgrade pip