相关疑难解决方法(0)

如何使用 apt-get 安装 Python 3.6?

我已经尝试了正常的方法,sudo apt-get install python3.6但是……好吧……那没有用。

那么,我该怎么办呢?(我最好不要自己构建它)

我正在使用 Ubuntu 16.04。

apt python3 software-installation

430
推荐指数
5
解决办法
101万
查看次数

Ubuntu 16.04 中 Python 包的 apt-get 升级错误

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libpython3.6 : Depends: libpython3.6-stdlib (= 3.6.5-5~16.04.york1) but 3.6.5-5~16.04.york0 is installed
 libpython3.6-dev : Depends: libpython3.6-stdlib (= 3.6.5-5~16.04.york1) but 3.6.5-5~16.04.york0 is installed
 libpython3.6-stdlib : Depends: libpython3.6-minimal (= 3.6.5-5~16.04.york0) but 3.6.5-5~16.04.york1 is installed
 python3.6 : Depends: libpython3.6-stdlib (= 3.6.5-5~16.04.york1) but 3.6.5-5~16.04.york0 is installed
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)

我已经在 Ubuntu 16.04 中使用 PPA JonathanF 进行安装,并且在我今天遇到这个问题之前一直运行良好。

TI 尝试并得到以下错误:

$ sudo apt-get upgrade -f
Reading package lists... …
Run Code Online (Sandbox Code Playgroud)

package-management apt dependencies

7
推荐指数
3
解决办法
9828
查看次数