python3.5无法使用pip

yang_online 2015-11-14 11:51:39
安装时候已经选上安装pip了,加入环境变量也是在安装的时候都选择了,现在在shell里面输入pip3仍然没法使用

help(pip)
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
help(pip)
NameError: name 'pip' is not defined
...全文
1786 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
aliceDingYM 2016-10-22
  • 打赏
  • 举报
回复
python3.x已经有pip了,但是使用前先更新
pip 官网上:
pip is already installed if you're using Python 2 >=2.7.9 or Python 3 >=3.4 downloaded from python.org, but you'll need to upgrade pip.

On Windows [5]:

python -m pip install -U pip


亲测可用
https://pip.pypa.io/en/stable/installing/
haiyan_lucky 2015-11-22
  • 打赏
  • 举报
回复
同问,我的2.7的也出现这问题

37,743

社区成员

发帖
与我相关
我的任务
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
  • 脚本语言(Perl/Python)社区
  • WuKongSecurity@BOB
加入社区
  • 近7日
  • 近30日
  • 至今

试试用AI创作助手写篇文章吧