ubuntu 14.04 安装 pip出现包依赖问题(This may mean that you have requested an impossible situation or ifyou ar
来源:互联网 发布:seo怎么提升网站权重 编辑:程序博客网 时间:2024/05/29 19:13
ubuntu 14.04 安装 pip出现包依赖问题(This may mean that you have requested an impossible situation or ifyou are using the unstable distribution that some required packages have notyet been created or been moved out of Incoming)
1.错误描述:
Some packages could not be installed. This may meanthat 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-pip-whl (= 1.5.4-1ubuntu4) but it is notgoing to be installed
Recommends: build-essential but it is not going to be installed
Recommends: python-dev-all (>= 2.6) but it is not installable
Recommends: python-wheel but it is not installable
E: Unable to correctproblems, you have held broken packages.
2.解决方法
我试了aptitude, 但是没能解决,于是直接用Python命令安装pip,而不是用apt-get安装。
1.去 https://pip.pypa.io/en/stable/installing/#using-linux-package-managers
下载 get-pip.py
2.在放有get-pip.py的目录下打开终端,输入
sudo python get-pip.py
然后应该就可以安装完成了。然后试试命令 pip --version看看是否安装成功。
参考https://pip.pypa.io/en/stable/installing/#using-linux-package-managers
Installation
Do I need to install pip?
pip is alreadyinstalled if you're using Python 2 >=2.7.9 or Python 3 >=3.4binariesdownloaded frompython.org, but you'llneedto upgrade pip.
Additionally, pipwill already be installed if you're working in a VirtualEnvironment created byvirtualenv or pyvenv.
Installing with get-pip.py
To install pip, securely download get-pip.py. [2]
Then run the following:
python get-pip.py
Warning
Be cautious if you'reusing a Python install that's managed by your operatingsystem or anotherpackage manager. get-pip.py does not coordinate withthose tools, and may leaveyour system in an inconsistent state.
- ubuntu 14.04 安装 pip出现包依赖问题(This may mean that you have requested an impossible situation or ifyou ar
- xampp安装出现"it seems you have an antivirus running"
- VS2013出现This function or variable may be unsafe问题
- 使用PreparedStatement,出现You have an error in your SQL syntax; check the manual that corresponds to you
- wireshark安装出现The NPF driver isn't running. You may have trouble
- An issue that you may encounter in the future
- ubuntu安装包依赖问题
- 有关wireshark抓包工具出现The NPF driver isn't running. You may have trouble capturing or listing interfaces
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL的问题
- 安装 Discuz!X2.5 出现 you don't have permission to access /install on this server
- centos 安装testlink出现:You don't have permission to access /testlink on this server
- 安装wamp后出现You don't have permission to access / on this server
- wampan安装后出现Forbidden You don't have permission to access / on this server. 解决办法
- Windows安装laravel出现You don't have permission to access / on this server.
- CentOS Apache经常出现 You don't have permission to access on this server的问题
- Ubuntu中虚拟环境pip安装包超时问题
- You may have an infinite update loop in a component render function
- 利用Mysql进行update时,出现You have an error in your SQL syntax check the manual that corresponds to your My
- bzoj1222 [HNOI2001]产品加工 dp
- jquery fancybox插件
- ABAP类的方法
- YOLO配置文件理解
- 序列、触发器和存储过程三者之间有啥关系
- ubuntu 14.04 安装 pip出现包依赖问题(This may mean that you have requested an impossible situation or ifyou ar
- RSA算法 JS加密 JAVA解密
- hbase版本和jdk版本兼容问题
- 欢迎使用CSDN-markdown编辑器
- IP的子网号
- linux 下tomcat6 配置为服务
- Spring 3.0 + Atomikos构建jta分布式事务
- ospf、rip、bgp是基于什么协议
- android studio2.3.1优化