我已经尝试了正常的方法,sudo apt-get install python3.6
但是……好吧……那没有用。
那么,我该怎么办呢?(我最好不要自己构建它)
我正在使用 Ubuntu 16.04。
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)