Unable to locate package python-pip
2015-05-29 14:18
429 查看
Two Methods:
1) You can install through Ubuntu Software Center.
Open Ubuntu Software Center and search for
![](http://i.stack.imgur.com/VcdDd.png)
Highlight alternative Python package installer (python-pip) from the list and click Install
![](http://i.stack.imgur.com/x4chg.png)
You can check weather the installation was successful or not by giving the command
which pip
you will see the path of installed application, for example
/usr/local/bin/pip
2)
Open terminal by pressing CTRL+ALT+T and type the following:
to navigate to your home directory.
Then issue the below command:
wget -P Downloads/ https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
Next step is to run the downloaded script. To do this, issue this command:
sudo python Downloads/distribute_setup.py
and type your user password when prompted (Please, note that your account needs to be a member of Administrators group in order to issue
Hit
let the script run.
To ensure easy_install is installed, issue the command below:
The typical response in case the installation completed successfully would look something like this:
The next thing to do is use easy_install to install pip. For that you’ll need to issue:
Enter your password if prompted to confirm command.
Let the installer run and once the installation is completed type:
This command should typically respond with something like this:
1) You can install through Ubuntu Software Center.
Open Ubuntu Software Center and search for
easy_install
![](http://i.stack.imgur.com/VcdDd.png)
Highlight alternative Python package installer (python-pip) from the list and click Install
![](http://i.stack.imgur.com/x4chg.png)
You can check weather the installation was successful or not by giving the command
which pip
you will see the path of installed application, for example
/usr/local/bin/pip
2)
Open terminal by pressing CTRL+ALT+T and type the following:
cd ~
to navigate to your home directory.
Then issue the below command:
wget -P Downloads/ https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py
Next step is to run the downloaded script. To do this, issue this command:
sudo python Downloads/distribute_setup.py
and type your user password when prompted (Please, note that your account needs to be a member of Administrators group in order to issue
sudo).
Hit
Enterand
let the script run.
To ensure easy_install is installed, issue the command below:
which easy_install
The typical response in case the installation completed successfully would look something like this:
/usr/local/bin/easy_install
The next thing to do is use easy_install to install pip. For that you’ll need to issue:
sudo easy_install pip
Enter your password if prompted to confirm command.
Let the installer run and once the installation is completed type:
which pip
This command should typically respond with something like this:
/usr/local/bin/pip
相关文章推荐
- Scikit Source Code Reading(2015.05.29)
- Gleanings of Python
- numpy库:常用基本
- Python Version 2.7 required which was not found in the registry
- python之类
- 编写Python脚本把sqlAlchemy对象转换成dict的教程
- Windows boost 下编译 python 库 boost_python-vc120-mt-1_58.lib
- Python学习——程序入口
- python (1):使用python 进行api 接口测试
- 学习资源整理
- Python 类的定义
- Python函数式编程——map()、reduce()
- VisualStudio2013下安装Python Flask/jade
- Python一些特殊用法(map、reduce、filter、lambda、列表推导式等)
- python的函数式编程玩法+年末小感
- python使用mysql数据库
- python函数式编程
- python wsgi 规范 与java的servlet规范比较
- python 异常处理
- 纯Python综合图像处理小工具(2)图像增强