admin 管理员组文章数量: 1086894
新手python笔记之安装pip升级问题
在我安装pip之后,我的vscode终端显示了下边两行内容
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.*
解决方式:
- win+R打开运行,输入cmd,点击确定,进入命令提示符
- 利用pip show pip,回车显示
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command. - 复制python -m pip install --upgrade pip,输入后显示
Collecting pi
Downloading .1.2.tar.gz
Installing collected packages: pi
Running setup.py install for pi … done
Successfully installed pi-0.1.2
You are using pip version 10.0.1, however version 18.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command. - 再次输入python -m pip install --upgrade pip,等待后出现
Successfully installed pip-18.1 - 再次输入pip show pip 检验,显示,完成
Name: pip
Version: 18.1
Summary: The PyPA recommended tool for installing Python packages.
Home-page: /
Author: The pip developers
Author-email: pypa-dev@groups.google
License: MIT
Location: c:\users\dell\appdata\local\programs\python\python37\lib\site-packages
Requires:
Required-by:
本文标签: 新手python笔记之安装pip升级问题
版权声明:本文标题:新手python笔记之安装pip升级问题 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1693518662a226838.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论