2017-09-25 52 views
0

我收到以下错误,同时通过键入安装python3-TK:错误安装python3-tk的包

apt-get install python3-tk 

Need to get 34.4 kB of archives. 
After this operation, 150 kB of additional disk space will be used. 
WARNING: The following packages cannot be authenticated! 
    python3-tk 
Install these packages without verification? [y/N] y 
Err http://us.archive.ubuntu.com/ubuntu/ wily/main python3-tk amd64 3.4.3-4 
    404 Not Found [IP: 91.189.91.26 80] 
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/p/python3-stdlib-extensions/python3-tk_3.4.3-4_amd64.deb 404 Not Found [IP: 91.189.91.26 80] 

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 
I tried to run apt-get update and tried with --fix-missing but of no use. Can anybody help me figure out the way to solve this or provide alternate method to download tkinter for python3 ? 
+0

'apt-get update'? –

+0

你应该能够导入tkinter而无需安装额外的? – chris

+0

不,它表示没有名为_tkinter的模块 –

回答

0

你并不需要单独安装tkinter。只需使用from tkinter import *