日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程语言 > python >内容正文

python

python3.8.5是python3吗_科学网-Ubuntu16.04安装Python3.8.5问题及解决方法-陈超的博文

發(fā)布時(shí)間:2025/3/20 python 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 python3.8.5是python3吗_科学网-Ubuntu16.04安装Python3.8.5问题及解决方法-陈超的博文 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Ubuntu16.04安裝Python3.8.5:

安裝編譯之后出現(xiàn)apt-get錯(cuò)誤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).

造成這種問(wèn)題的原因是因?yàn)樵赨buntu下,例如Ubuntu 14.04或者16.04一般是不會(huì)出現(xiàn)broken dependencies,或者出現(xiàn)unmet dependencies, 但是如果我們使用dpkg強(qiáng)制安裝了某些deb包,或者在build-dep的是否手動(dòng)更改了某些Packages的文件和版本時(shí), 那么在再次使用apt-get install或者build-dep來(lái)安裝packages的時(shí)就很可能出現(xiàn)上面出現(xiàn)過(guò)的問(wèn)題。

我們可以根據(jù)提示執(zhí)行下命令,如果問(wèn)題照舊,那我們嘗試執(zhí)行一下命令

解決辦法如下:

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問(wèn)題

轉(zhuǎn)載本文請(qǐng)聯(lián)系原作者獲取授權(quán),同時(shí)請(qǐng)注明本文來(lái)自陳超科學(xué)網(wǎng)博客。

收藏

分享

分享到:

總結(jié)

以上是生活随笔為你收集整理的python3.8.5是python3吗_科学网-Ubuntu16.04安装Python3.8.5问题及解决方法-陈超的博文的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。