微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我不能为python安装“pip”

我要通过学习Python的艰难的方式,我需要安装点。 (ex46 ,ex47)所以我保存get-pip.py在我的电脑和powershell我做到了:

PS C:UsersTotopip> python Get-pip.py Downloading/unpacking pip Installing collected packages: pip Successfully installed pip Cleaning up...

但是当我尝试时:PS C: Users Toto pip>点

我得到这个错误: pip : The term 'pip' is not recognized as the name of a cmdlet,function,script file,or operable program. Check the s pelling of the name,or if a path was included,verify that the path is correct and try again. At line:1 char:1 + pip + ~~~ + CategoryInfo : ObjectNotFound: (pip:String) [],CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException pip : The term 'pip' is not recognized as the name of a cmdlet,CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

C: Python27 Scripts 已经在我的path上。

当cygwin中的virtualenv内部时,PIP无法打开传出套接

Apache + mod_wsgi – Python不会加载已安装的模块

在Python2.7中获取pip包

scipy不在Windows机器上安装

没有模块命名包装

我无法弄清楚这一点。 如果有人能帮助我。

注意:我在Windows 8上,这是与Python 2.7

编译尝试安装WebRTCVAD模块的错误

GCC_ARM的path(mbed_settings.py)

在pip安装uWsgi之后,没有/ etc / uwsgi /目录 – 我怎样才能使用apps-enabled?

如何安装在Windows我的python

安装python模块时出现Visual C ++ 10.0问题; cl.exe失败,退出状态2(h5py)

每当我在Windows机器上安装了pip,它就会安装到我的Python脚本文件夹中:

c:python34Scripts

所以要让pip在命令行上运行,我必须将该路径添加到我的PATH环境变量中。 通过执行以下操作(假定Windows 7或更高版本),可以获得这些设置:

右键单击我的电脑,然后选择Properties

转到高级系统设置

点击Environment Variables按钮

双击System variables下列出的PATH(或路径) System variables

将c:python34Scripts添加到其他路径列表的末尾,确保使用分号分隔前一个条目

重新启动你的shell并尝试运行pip。 如果它仍然不起作用,你需要找出pip的安装位置。 在我的脚本文件夹中,我有一个pip.exe文件。 如果你不这样做,那么添加Scripts文件夹到你的路径将无济于事。 你必须找出它的安装位置,然后添加该路径。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐