您好,登錄后才能下訂單哦!
本篇文章為大家展示了ubuntu下如何進(jìn)行python2.7 的IDLE安裝和源更新,內(nèi)容簡明扼要并且容易理解,絕對(duì)能使你眼前一亮,通過這篇文章的詳細(xì)介紹希望你能有所收獲。
在用software center裝IDLE時(shí) 出錯(cuò)
details 說python2.7-tk是虛擬的包什么的 不懂..
于是用 sudo app-get install python2.7-tk
發(fā)現(xiàn) 幾個(gè) depended on xx
少什么就安裝什么
sudo app-get install xx
于是發(fā)現(xiàn)問題
Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
sudo apt-get upda了兩次都是同樣的問題
想想應(yīng)該是源的問題 最近好像改過
于是
sudo gedit /etc/apt/sources.list
發(fā)現(xiàn)我的版本是trusty 結(jié)果用的 raring
果斷ctrl+H replace之
哦了..
對(duì)了一般都會(huì)備份.. sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
之后別忘了 sudo apt-get update
附上源地址(直接拷貝進(jìn)sources.list即可)
##sohu
deb http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ trusty-backports main restricted universe multiverse
##wangyi163
deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ trusty-backports main restricted universe multiverse
##alicloud
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
順便看了一下ubuntu的版本
名字都非常有意思哦~
版本號(hào) | 代號(hào) | 發(fā)布時(shí)間 |
---|---|---|
14.04 LTS | Trusty Tahr | 2014/04/18 |
13.10 | Saucy Salamander | 2013/10/17 |
13.04 | Raring Ringtail | 2013/04/25 |
12.10 | Quantal Quetzal | 2012/10/18 |
12.04 LTS | Precise Pangolin | 2012/04/26 |
11.10 | Oneiric Ocelot | 2011/10/13 |
11.04(Unity成為默認(rèn)桌面環(huán)境) | Natty Narwhal | 2011/04/28 |
10.10 | Maverick Meerkat | 2010/10/10 |
10.04 LTS | Lucid Lynx | 2010/04/29 |
9.10 | Karmic Koala | 2009/10/29 |
9.04 | Jaunty Jackalope | 2009/04/23 |
8.10 | Intrepid Ibex | 2008/10/30 |
8.04 LTS | Hardy Heron | 2008/04/24 |
7.10 | Gutsy Gibbon | 2007/10/18 |
7.04 | Feisty Fawn | 2007/04/19 |
6.10 | Edgy Eft | 2006/10/26 |
6.06 LTS | Dapper Drake | 2006/06/01 |
5.10 | Breezy Badger | 2005/10/13 |
5.04 | Hoary Hedgehog | 2005/04/08 |
4.10(初始發(fā)布版本) | Warty Warthog | 2004/10/20 |
上述內(nèi)容就是ubuntu下如何進(jìn)行python2.7 的IDLE安裝和源更新,你們學(xué)到知識(shí)或技能了嗎?如果還想學(xué)到更多技能或者豐富自己的知識(shí)儲(chǔ)備,歡迎關(guān)注億速云行業(yè)資訊頻道。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。