您好,登錄后才能下訂單哦!
本篇文章為大家展示了ubuntu下如何進行python2.7 的IDLE安裝和源更新,內容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細介紹希望你能有所收獲。
在用software center裝IDLE時 出錯
details 說python2.7-tk是虛擬的包什么的 不懂..
于是用 sudo app-get install python2.7-tk
發現 幾個 depended on xx
少什么就安裝什么
sudo app-get install xx
于是發現問題
Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
sudo apt-get upda了兩次都是同樣的問題
想想應該是源的問題 最近好像改過
于是
sudo gedit /etc/apt/sources.list
發現我的版本是trusty 結果用的 raring
果斷ctrl+H replace之
哦了..
對了一般都會備份.. sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
之后別忘了 sudo apt-get update
附上源地址(直接拷貝進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的版本
名字都非常有意思哦~
版本號 | 代號 | 發布時間 |
---|---|---|
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成為默認桌面環境) | 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(初始發布版本) | Warty Warthog | 2004/10/20 |
上述內容就是ubuntu下如何進行python2.7 的IDLE安裝和源更新,你們學到知識或技能了嗎?如果還想學到更多技能或者豐富自己的知識儲備,歡迎關注億速云行業資訊頻道。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。