python-pip : Depends: python-setuptools (= 0.6c1) 问题
来源:互联网 发布:中国软件发展趋势 编辑:程序博客网 时间:2024/05/20 01:37
http://luojinghappy.blog.51cto.com/683032/1629661
安装apt-get install python-pip 遇到以下问题。
root@saltstackminion:~# apt-get install python-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python-pip : Depends: python-setuptools (>= 0.6c1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
解决办法:
First remove the python-pkg-resources
completely using
sudo apt-get purge python-pkg-resources
Once completed successfully, first run
sudo apt-get -f install
then
sudo apt-get install python-pip
fabric@ubuntu:~/soft$ sudo apt-get install python-pipReading package lists... DoneBuilding dependency tree Reading state information... DoneThe following packages were automatically installed and are no longer required: app-install-data apt-xapian-index gir1.2-gmenu-3.0 laptop-detect libqt4-designer libqt4-help libqt4-opengl libqt4-scripttools libqt4-svg libqt4-test libqtassistantclient4 libqtwebkit4 oneconf-common python-commandnotfound python-debtagshw python-defer python-dirspec python-gdbm python-httplib2 python-oneconf python-openssl python-pam python-piston-mini-client python-qt4 python-serial python-sip python-twisted-bin python-xapian python3-oneconf python3-piston-mini-client software-center-aptdaemon-plugins ubuntu-extras-keyring ubuntuone-client-dataUse 'apt-get autoremove' to remove them.The following extra packages will be installed: python-colorama python-distlib python-html5lib python-pkg-resources python-setuptoolsSuggested packages: python-genshi python-distribute python-distribute-docRecommended packages: build-essential python-dev-allThe following NEW packages will be installed: python-colorama python-distlib python-html5lib python-pip python-pkg-resources python-setuptools0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.Need to get 604 kB of archives.After this operation, 2,699 kB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-colorama all 0.2.5-0.1ubuntu1 [18.3 kB]Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-distlib all 0.1.8-1 [113 kB]Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-html5lib all 0.999-2 [83.2 kB]Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-pkg-resources all 3.3-1ubuntu1 [61.9 kB]Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main python-setuptools all 3.3-1ubuntu1 [230 kB]Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-pip all 1.5.4-1 [97.7 kB]Fetched 604 kB in 7s (77.7 kB/s) Selecting previously unselected package python-colorama.(Reading database ... 168441 files and directories currently installed.)Preparing to unpack .../python-colorama_0.2.5-0.1ubuntu1_all.deb ...Unpacking python-colorama (0.2.5-0.1ubuntu1) ...Selecting previously unselected package python-distlib.Preparing to unpack .../python-distlib_0.1.8-1_all.deb ...Unpacking python-distlib (0.1.8-1) ...Selecting previously unselected package python-html5lib.Preparing to unpack .../python-html5lib_0.999-2_all.deb ...Unpacking python-html5lib (0.999-2) ...Selecting previously unselected package python-pkg-resources.Preparing to unpack .../python-pkg-resources_3.3-1ubuntu1_all.deb ...Unpacking python-pkg-resources (3.3-1ubuntu1) ...Selecting previously unselected package python-setuptools.Preparing to unpack .../python-setuptools_3.3-1ubuntu1_all.deb ...Unpacking python-setuptools (3.3-1ubuntu1) ...Selecting previously unselected package python-pip.Preparing to unpack .../python-pip_1.5.4-1_all.deb ...Unpacking python-pip (1.5.4-1) ...Processing triggers for man-db (2.6.7.1-1ubuntu1) ...Setting up python-colorama (0.2.5-0.1ubuntu1) ...Setting up python-distlib (0.1.8-1) ...Setting up python-html5lib (0.999-2) ...Setting up python-pkg-resources (3.3-1ubuntu1) ...Setting up python-setuptools (3.3-1ubuntu1) ...Setting up python-pip (1.5.4-1) ...
- python-pip : Depends: python-setuptools (= 0.6c1) 问题
- python-pip : Depends: python-setuptools (= 0.6c1) 问题
- python 安装setuptools和pip
- python 安装setuptools和pip
- Python 安装 setuptools 和 pip
- python安装setuptools和pip
- Python 安装setuptools和pip
- 安装python+setuptools+pip+nltk
- python-安装pip以及setuptools
- A001: Python包管理: setuptools、easyinstall、pip
- python pip, setuptools,easy_install安装(win8)
- CentOS安装python setuptools and pip
- nginx、python、django、pip、setuptools、uwsgi安装
- python中pip和setuptools的安装
- python setuptools six pip easy_install 安装冲突
- python的pip安装、setuptools安装
- python Setuptools
- Python的包管理工具easy_install, setuptools, pip,distribute介绍
- ######Nginx配置文件nginx.conf中文详解##### #定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数。 worke
- Ajax跨域请求COOKIE无法带上的解决办法
- C++ 的模板中 typename 关键字的用法
- python django rest framework Serialization 的学习
- 操作GPIO其中的两种方法
- python-pip : Depends: python-setuptools (= 0.6c1) 问题
- S5PV210-uboot解析(四)-main_loop函数分析
- 安卓studio导入framwork源码如何利用debug
- iOS weak和assign修饰OC对象的区别
- HTML5表单验证
- 自定义原生jsonp跨域请求
- javawebday20(绝对路径)
- 鼠标 not-allowed 样式,和 css3 point-events
- 欢迎使用CSDN-markdown编辑器