【发布时间】:2017-04-18 21:33:15
【问题描述】:
在安装 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)
那么我在这里做错了什么?请帮忙
【问题讨论】:
-
python 附带
tk安装
标签: python python-3.5