大橙子网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
本篇文章为大家展示了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安装和源更新,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。