ubuntu下如何进行python2.7的IDLE安装和源更新

本篇文章为大家展示了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 LTSTrusty Tahr2014/04/18
13.10Saucy Salamander2013/10/17
13.04Raring Ringtail2013/04/25
12.10Quantal Quetzal2012/10/18
12.04 LTSPrecise Pangolin2012/04/26
11.10Oneiric Ocelot2011/10/13
11.04(Unity成为默认桌面环境)Natty Narwhal2011/04/28
10.10Maverick Meerkat2010/10/10
10.04 LTSLucid Lynx2010/04/29
9.10Karmic Koala2009/10/29
9.04Jaunty Jackalope2009/04/23
8.10Intrepid Ibex2008/10/30
8.04 LTSHardy Heron2008/04/24
7.10Gutsy Gibbon2007/10/18
7.04Feisty Fawn2007/04/19
6.10Edgy Eft2006/10/26
6.06 LTSDapper Drake2006/06/01
5.10Breezy Badger2005/10/13
5.04Hoary Hedgehog2005/04/08
4.10(初始发布版本)Warty Warthog2004/10/20
Ubuntu历史版本一览表

上述内容就是ubuntu下如何进行python2.7 的IDLE安装和源更新,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注创新互联行业资讯频道。


文章题目:ubuntu下如何进行python2.7的IDLE安装和源更新
URL分享:http://pwwzsj.com/article/jhssci.html