Installing pip-2.7

2019-04-15 07:55发布

I have a ubuntu machine , where I have to install Azure Python SDK:

1. When I execute this command:

curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python

I get a message as :

Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages

2. Next when I issue this command

sudo /usr/local/bin/pip-2.7 install azure

sudo: /usr/local/bin/pip-2.7: command not found

I am not sure why is this happening ...Any solution for this?

1条回答
Luminary・发光体
2楼-- · 2019-04-15 08:55

Try

sudo pip install azure

If you have both python2 and python3, try:

sudo pip2 install azure
查看更多
登录 后发表回答