繁体   English   中英

Python3.5 tk软件包显示错误

[英]Python3.5 tk package showing error

在安装Python3.5-tk软件包时,出现此错误。 我不确定自己在做什么错。

$sudo apt-get install python3-tk

The following NEW packages will be installed:
  python3-tk
0 upgraded, 1 newly installed, 0 to remove and 585 not upgraded.
Need to get 0 B/42.2 kB of archives.
After this operation, 247 kB of additional disk space will be used.
(Reading database ... 400408 files and directories currently installed.)
Preparing to unpack .../python3-tk_3.5.3-1ubuntu1~14.04.york1.1_amd64.deb ...
Unpacking python3-tk:amd64 (3.5.3-1ubuntu1~14.04.york1.1) ...
dpkg: error processing archive /var/cache/apt/archives/python3-tk_3.5.3-1ubuntu1~14.04.york1.1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python3.5/lib-dynload/_tkinter.cpython-35m-x86_64-linux-gnu.so', which is also in package libpython3.5-tk:amd64 3.5.2-1~trusty1
Errors were encountered while processing:
 /var/cache/apt/archives/python3-tk_3.5.3-1ubuntu1~14.04.york1.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

那么,我在这里做错了什么? 请帮忙

你能试一下吗:

sudo apt-get clean
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install python-support
sudo update-python-modules -a
sudo apt-get install python3-tk

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM