Ubuntu 14.04 install python-pip
2017-08-30 23:24
801 查看
sudo apt-get update 出现问题:
解决方案:
(1)
//删除
sudo rm -fR /var/lib/apt/lists/*
//新建相应文件夹
sudo mkdir /var/lib/apt/lists/partial
//重新update
sudo apt-get update
(2)
修改dns:
配置文件地址 /etc/resolv.conf
改为如下内容:
search localdomain
nameserver 8.8.8.8
nameserver 8.8.4.4
重启网络:
sudo /etc/init.d/networking restart
(3)
sudo apt-get install -f
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
然后安装python-pip
sudo apt-get install python-pip
解决方案:
(1)
//删除
sudo rm -fR /var/lib/apt/lists/*
//新建相应文件夹
sudo mkdir /var/lib/apt/lists/partial
//重新update
sudo apt-get update
(2)
修改dns:
配置文件地址 /etc/resolv.conf
改为如下内容:
search localdomain
nameserver 8.8.8.8
nameserver 8.8.4.4
重启网络:
sudo /etc/init.d/networking restart
(3)
sudo apt-get install -f
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
然后安装python-pip
sudo apt-get install python-pip
相关文章推荐
- How to Install and Use Python Pip on Ubuntu 14.04 and pip install pytz
- can not install python-pip python-dev in ubuntu
- ssdeep Python Wrapper Install on Ubuntu 14.04
- ubuntu 14.04 install python django mysql
- ubuntu14.0 docker 镜像 pip install python相关的包,下载速度很慢很慢的解决办法
- ubuntu 14.04 install python3.4.4 and pyqt5
- ubuntu 安装python,easy_install和pip
- ubuntu系统下,下载安装Python程序的方法汇总(wget;apt-get;easy_install;pip)
- ubuntu 下Python pip install numpy scipy and matplotlib
- ubuntu14.04给python安装pip
- ubuntu14.04 查看安装包版本号/Python pip virtualenv安装
- How to install Pygame for Python 3.4 on Ubuntu 14.04(转)
- python2.7,Ubuntu14.04环境下pip安装插件,cffi插件出现一下错误解决办法。
- 笔记:记录ubuntu install python3.6 and pip3
- Ubuntu 14.04的vim编辑器配置Python开发环境
- python 安装easy_install和pip
- ubuntu 14.04 打开Python2.7 IDLE
- Ubuntu14.04下安装Python开发工具Wing IDE
- ubuntu安装python-pip问题解决