python3.8安装ubuntu_科学网—Ubuntu16.04安装Python3.8.5问题及解决方法 - 陈超的博文...
Ubuntu16.04安装Python3.8.5:
安装编译之后出现apt-get错误You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libxml-parser-perl : Depends: libwww-perl but it is not going to be installed
printer-driver-gutenprint : Depends: cups (>= 1.3.0) but it is not going to be installed
printer-driver-splix : Depends: cups (>= 1.5.0-3~) but it is not going to be installed
python-httplib2 : Depends: ca-certificates but it is not going to be installed
python-pip : Depends: ca-certificates 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 going to be installed
python-requests : Depends: ca-certificates but it is not going to be installed
python-requests-whl : Depends: ca-certificates but it is not going to be installed
python3-httplib2 : Depends: ca-certificates but it is not going to be installed
python3-requests : Depends: ca-certificates but it is not going to be installed
ruby1.9.1 : Depends: libruby1.9.1 (= 1.9.3.484-2ubuntu1.2) but it is not going to be installed
ssh-import-id : Depends: ca-certificates but it is not going to be installed
vim-gtk : Depends: libruby1.9.1 (>= 1.9.2.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
造成这种问题的原因是因为在Ubuntu下,例如Ubuntu 14.04或者16.04一般是不会出现broken dependencies,或者出现unmet dependencies, 但是如果我们使用dpkg强制安装了某些deb包,或者在build-dep的是否手动更改了某些Packages的文件和版本时, 那么在再次使用apt-get install或者build-dep来安装packages的时就很可能出现上面出现过的问题。
我们可以根据提示执行下命令,如果问题照旧,那我们尝试执行一下命令
解决办法如下:
first stepsudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
second step
sudo apt-get update
sudo apt-get clean
sudo apt-get autoremove
third step
sudo apt --fix-broken install
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
sudo apt-get install -f
连接地址:
最后解决:
ImportError: No module named _ssl问题
转载本文请联系原作者获取授权,同时请注明本文来自陈超科学网博客。
链接地址:http://blog.sciencenet.cn/blog-858128-1246854.html
上一篇:北斗物联
下一篇:pip3 install --user pipenv出现Traceback (most recent call last
python3.8安装ubuntu_科学网—Ubuntu16.04安装Python3.8.5问题及解决方法 - 陈超的博文...相关推荐
- python3.8.5是python3吗_科学网-Ubuntu16.04安装Python3.8.5问题及解决方法-陈超的博文
Ubuntu16.04安装Python3.8.5: 安装编译之后出现apt-get错误You might want to run 'apt-get -f install' to correct the ...
- docker安装gamit_科学网—Ubuntu18.04 安装gamit10.7安装 - 陈超的博文
1.安装依赖环境 1.1 gcc g++ gfortran多版本切换(安装gamit需要切换低版本) 1.1.1安装gcc g++ gfortran多版本 sudo apt-get install g ...
- ubuntu安装vasp_科学网—Ubuntu18.04编译VASP.5.4.1两种方法的详细过程 - 木留华的博文...
笔者根据自己的经验总结了VASP在Ubuntu系统的安装方法,分享给大家并方便自己查看. 下面两种编译方法(gfortran及MKL分别编译VASP)均需要VASP源码包及其补丁,这些可以在官网或通过 ...
- ubuntu16.04 无线/Wifi 上网速度慢的解决方法
[转载]ubuntu16.04 无线/Wifi 上网速度慢的解决方法 原文链接:http://tieba.baidu.com/p/4737599703[侵删] 一直以为是域名解析的问题,可也觉得不像. ...
- window10安装oracle VirtualBox 虚拟机+ubuntu16.04安装Ros
一.window10中安装oracle VirtualBox 1.进入VirtualBox官网https://www.virtualbox.org/ 点Downloads 下载对应版本!安装!默认直接 ...
- 利用python安装opencv_科学网—Anaconda Python PyCharm PyQT5 OpenCV PyTorch TF2.0 安装指南 - 张重生的博文...
Anaconda Python PyCharm PyQT5 OpenCV PyTorch TF2.0 安装指南与资料汇总 (用Anaconda配置Python集成开发环境,含Python3, PyQT ...
- vs2019安装rdlc_科学网—vs2019 完全安装到D盘 - 刘航宇的博文
第一步从微软官网下载 Visual Studio Community 2019(其他版本类似) 运行下载的安装程序,到选择安装的组件时退出程序 第二步:使用 mklink 创建链接原理:这一步的目的是 ...
- 老显卡安装Linux黑屏,ubuntu16.04安装gtx1080驱动重启黑屏(blank screen)解决方法
最近组装了台式机Z270 + i7 7700k + GTX1080配置,在ubuntu系统安装显卡驱动时遇到问题: 更新NVIDIA私有显卡驱动,重启后无法进入系统. 经过十几次重装系统,看了几十篇g ...
- VMware12安装虚拟机教程、Ubuntu16.04安装教程、常见问题解决方法
虚拟机.Linux操作系统介绍及下载地址 虚拟机VMware Workstation Pro 12.1.0 for Windows下载地址: http:// www. vmware.com/cn/ ( ...
最新文章
- rsync备份之windows+linux
- python time strptime_Python中操作时间之strptime()方法的使用
- C语言学习及应用笔记之四:C语言volatile关键字及其使用
- java的smalltalk规则,Smalltalk相当于Java的静态是什么?
- 工厂物资管理E-R图
- python卡尔曼滤波室内定位_基于卡尔曼滤波的室内定位方法设计
- 7.1 认识Access报表
- python爬虫笔记-weikipedia数据爬取
- 人际网络营销与网站运营、策划、推广一体化结合
- 离散型特征的处理方法
- 关于165的(ORCAP-1192)
- 《A Graduate Course in Applied Cryptography》Chapter 12 Chosen ciphertext secure pkc(4)finish
- AlphaFold2-蛋白质结构预测
- 同步通信 VS 异步通信
- [LOJ#6617][THUPC2019]摆家具(矩阵乘法 + 子集和变换)
- MIT物理学家观察超冷原子形成量子龙卷风晶体
- 关于今天烧坏树莓派板子一事的所思所想
- SSH Keylogger密码抓取
- 关系型数据之分区分表分库
- 使用原生table合并单元格