安装xxx包时报错:
You are using pip version 10.0.1, however version 18.0 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
按下Win徽标键,找到 命令提示符 右键-> 更多-> 以管理员模式运行 重新运行 python -m pip install --upgrade pip 即可。
如果更新完pip 再安装包,还是报错,也许可以试试:
pip install xxx -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com