我试图python3在Linux Bash Shell for Windows 10中进行更新.
这是我尝试过的:
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update
sudo apt-get install python3.6
Run Code Online (Sandbox Code Playgroud)
但是我收到以下错误:
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Errors were encountered while processing:
ghc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Run Code Online (Sandbox Code Playgroud)
我也尝试搜索它是否会覆盖我的python 3.4并使其无法访问,如删除它并安装3.6,但没有找到结果.
是否有升级安全的方式python3在这里
[编辑]
外壳升级到后16.04使用do-release-upgrade,错误消失.可以在此链接后进行更新.