Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!news2.arglkargh.de!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'subject:installation': 0.07; 'etc).': 0.09; 'library?': 0.09; 'overwrite': 0.09; 'supported,': 0.09; 'python': 0.11; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'itself,': 0.16; 'nose': 0.16; 'require,': 0.16; 'sources,': 0.16; 'subject:library': 0.16; "ubuntu's": 0.16; 'ubuntu,': 0.16; 'ubuntu.': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'version.': 0.19; 'example': 0.22; 'separate': 0.22; 'install': 0.23; 'header:User-Agent:1': 0.23; 'directory.': 0.24; 'example.': 0.24; 'integrate': 0.24; 'package.': 0.24; 'versions': 0.24; 'question': 0.24; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; 'mix': 0.30; 'newer': 0.30; 'along': 0.30; 'another': 0.32; '(most': 0.33; 'guess': 0.33; 'noticed': 0.34; 'subject:the': 0.34; 'could': 0.34; 'but': 0.35; 'version': 0.36; 'really': 0.36; 'installing': 0.36; 'ubuntu': 0.36; 'should': 0.36; 'example,': 0.37; 'reports': 0.37; 'operating': 0.37; 'being': 0.38; 'sometimes': 0.38; 'system,': 0.38; 'message- id:@gmail.com': 0.38; 'version,': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'manually': 0.60; 'new': 0.61; "you've": 0.63; 'notified': 0.63; 'provide': 0.64; 'different': 0.65; 'side': 0.67; 'apt-get': 0.84; 'careful': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Fri, 22 Aug 2014 10:10:18 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Som confusion about the python library installation References: <5c82c87c-399e-4fff-9c71-f83db77da5a2@googlegroups.com> In-Reply-To: <5c82c87c-399e-4fff-9c71-f83db77da5a2@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1408723833 news.xs4all.nl 2970 [2001:888:2000:d::a6]:56342 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:76801 On 08/22/2014 09:46 AM, Jiafan Zhou wrote: > I guess it must be the 1.3.3 version being used in the system, but > why apt-get still reports 1.1.2-3 and this worries me a little. > > Another separate question in relation, do I really need to install > the python-nose in ubuntu. Can I not just go directly to pip and > install the nose library? This is what happens when you mix installing from operating system packages with installing from other methods (pip, tar.gz, etc). The package system is not notified when you install from other sources, so it still thinks the package is original. Now with pip you've overwritten (most likely) the version of nose. This should be okay, though if another update to nose comes through Ubuntu, it will overwrite your pip version. Just be careful what you manually install over top of a built-in package. For example you should never overwrite the packaged version of Python itself, for example. If you need to install a new version of Python, it must be installed along side the system version, in a different directory. Sometimes you can find newer versions of software that you can install with Ubuntu's package tools. For example, some people provide PPAs you can use to integrate newer software easily. Ubuntu 12.04 is rather old now, and while it's still supported, it does not have the newer versions of some software that you might require, as you noticed with python-nose. You could try Ubuntu 14.04.