小编bra*_*ker的帖子

从 16.04 升级到 16.10 时出错

我确实sudo apt dist-upgrade升级了我的 Ubuntu 发行版,但遇到了这个错误

Cannot start click due to a conflict with a different locally-installed Python 'click' package.  Remove it using Python packaging tools and try again.
dpkg: error processing package click (--configure):
 subprocess installed post-installation script returned error exit status 1
Run Code Online (Sandbox Code Playgroud)

我卸载了我的本地 Python 3 click 包,如这里的答案中所述。在那之后我试过了,sudo apt-get install -f但现在它没有说

    Setting up click-apparmor (0.3.17) ...
Traceback (most recent call last):
  File "/usr/bin/click", line 37, in <module>
    import click
ImportError: No module named 'click' …
Run Code Online (Sandbox Code Playgroud)

upgrade python3 16.04 16.10

5
推荐指数
1
解决办法
963
查看次数

标签 统计

16.04 ×1

16.10 ×1

python3 ×1

upgrade ×1