In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article shows you how to install IDLE and source updates for python2.7 under ubuntu. The content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
An error occurred while installing IDLE with software center
Details said that python2.7-tk is a virtual bag. I don't understand.
So use sudo app-get install python2.7-tk
Found several depended on xx
Install what is missing
Sudo app-get install xx
So I found the problem.
Unable to fetch some archives, maybe run apt-get update or try with-- fix-missing?
Sudo apt-get upda has the same problem twice.
When you think about it, it should be the source. It seems to have changed recently.
So
Sudo gedit / etc/apt/sources.list
It turns out that my version is raring for trusty results.
Decisive ctrl+H replace
Oh, yeah.
By the way, they usually back up.. Sudo cp / etc/apt/sources.list / etc/apt/sources.list_backup
Don't forget sudo apt-get update after that.
Attach the source address (just copy it directly into 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
I took a look at the version of ubuntu by the way.
The names are all very interesting.
Version code release time 14.04 LTSTrusty Tahr2014/04/1813.10Saucy Salamander2013/10/1713.04Raring Ringtail2013/04/2512.10Quantal Quetzal2012/10/1812.04 LTSPrecise Pangolin2012/04/2611.10Oneiric Ocelot2011/10/1311.04 (Unity becomes the default desktop environment) Natty Narwhal2011/04/2810.10Maverick Meerkat2010/10/1010.04 LTSLucid Lynx2010/04/299.10Karmic Koala2009/10/299.04Jaunty Jackalope2009/04/238.10Intrepid Ibex2008/10/308.04 LTSHardy Heron2008/04/247.10Gutsy Gibbon2007 / 10/187.04Feisty Fawn2007/04/196.10Edgy Eft2006/10/266.06 LTSDapper Drake2006/06/015.10Breezy Badger2005/10/135.04Hoary Hedgehog2005/04/084.10 (initial release) Warty Warthog2004/10/20Ubuntu Historical version list
The above is how to install IDLE and update the source of python2.7 under ubuntu. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.