安装pip-2.7 [英] Installing pip-2.7
问题描述
我有一台ubuntu计算机,必须在其中安装Azure Python SDK:
I have a ubuntu machine , where I have to install Azure Python SDK:
1 .当我执行此命令时:
1. When I execute this command:
卷曲 https://raw.github. com/pypa/pip/master/contrib/get-pip.py |须藤python
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python
我收到一条消息:
最新要求:在/usr/local/lib/python2.7/dist-packages中pip
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages
2..下一步,当我发出此命令时
2. Next when I issue this command
sudo/usr/local/bin/pip-2.7安装azure
sudo:/usr/local/bin/pip-2.7:找不到命令
sudo: /usr/local/bin/pip-2.7: command not found
我不确定为什么会这样...对此有任何解决方案吗?
I am not sure why is this happening ...Any solution for this?
推荐答案
尝试
sudo pip install azure
如果您同时拥有python2和python3,请尝试:
If you have both python2 and python3, try:
sudo pip2 install azure
这篇关于安装pip-2.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!