【发布时间】:2016-05-21 10:58:07
【问题描述】:
我是 python 新手。我已经在 Windows 10 中安装了 python 3.5.1,现在我想安装 numpy 包。 Pip3 已经在我的脚本文件夹中,但我无法使用
安装包pip3 install numpy
这里是实际的命令行命令和错误
PS C:\Users\user\Appdata\Local\Programs\Python\python35-32> pip3 install numpy
pip3 : The term 'pip3' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip3 install numpy
+ ~~~~
+ CategoryInfo : ObjectNotFound: (pip3:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\user\Appdata\Local\Programs\Python\python35-32>
我该如何解决这个问题。帮助将不胜感激
【问题讨论】:
-
你也可以试试
py -3 -m pip install numpy -
您必须在 cmd 窗口中,而不是在 powershell 提示符下...
-
我会再次运行
get-pip.py。您可以从互联网上获取它,它应该可以正确设置所有内容 -- bootstrap.pypa.io/get-pip.py