Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51696

RE: Using system python vs. updated/current version

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ramit.prasad@jpmorgan.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '(at': 0.04; 'completeness': 0.07; 'hosts': 0.07; 'dependency': 0.09; 'received:155': 0.09; 'subject:version': 0.09; 'python': 0.11; '2.7.3': 0.16; 'blocked': 0.16; 'cons': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'from:addr:jpmorgan.com': 0.16; 'received:155.180': 0.16; 'received:159': 0.16; 'received:159.53': 0.16; 'received:169.70': 0.16; 'received:169.70.190': 0.16; 'received:169.70.190.246': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'securities,': 0.16; 'time).': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'version?': 0.16; 'subject:python': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'version.': 0.19; 'seems': 0.21; 'otherwise,': 0.22; 'separate': 0.22; 'to:name:python- list@python.org': 0.22; 'install': 0.23; "aren't": 0.24; 'directory.': 0.24; 'header:Received:8': 0.24; 'versions': 0.24; 'mention': 0.26; 'references': 0.26; 'subject:/': 0.26; 'header :In-Reply-To:1': 0.27; 'installed': 0.27; 'to:2**1': 0.27; 'newer': 0.30; 'along': 0.30; "i'm": 0.30; 'easier': 0.31; 'way?': 0.31; 'allows': 0.31; 'received:169.254': 0.32; 'run': 0.32; 'linux': 0.33; 'running': 0.33; '(i.e.': 0.33; 'projects.': 0.33; 'there,': 0.34; 'could': 0.34; 'but': 0.35; 'version': 0.36; 'really': 0.36; 'accuracy': 0.36; 'installing': 0.36; 'limitations': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'received:169': 0.37; 'virtual': 0.37; 'project': 0.37; 'manager': 0.38; 'to:addr:python-list': 0.38; 'rather': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'release': 0.40; 'most': 0.60; 'information,': 0.61; 'personal': 0.63; 'such': 0.63; 'places': 0.64; 'great': 0.65; 'purchase': 0.65; 'to:addr:gmail.com': 0.65; 'subject:. ': 0.67; 'subject': 0.69; 'legal': 0.71; 'touch': 0.74; 'sale': 0.75; 'burning': 0.84; "it'd": 0.84; 'monte': 0.84; "project's": 0.84; 'received:169.254.8': 0.84; 'subject:Using': 0.84; 'subject:system': 0.84; 'touching': 0.84; 'also...': 0.91
X-DKIM OpenDKIM Filter v2.1.3 sf2.jpmchase.com r6VJI25i005786
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1375298282; bh=If3FRARlZxPeewvH5nPyCxLASSjGl388QvbO5jIhiTI=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:content-transfer-encoding:MIME-Version; b=TCp4MK9gJLUD3FH+E0EsZfyUa9oo7+7K6Nx5VOpcwIgwSonVR0h1Fdv8P7WNXIYmX fR85Ansox02cORADb23xTng/fyTMrrrlXO35jx1nMSXuSTFvlx1zTLDgSHPgE8aHp4 NsZRynvNHK4HQM5/J+bILOqbBoQDYzLup01NMq9Y=
X-AuditID a97c8566-b7f628e000000303-0b-51f962e9bddd
From "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid>
To memilanuk <memilanuk@gmail.com>, "python-list@python.org" <python-list@python.org>
Subject RE: Using system python vs. updated/current version
Thread-Topic Using system python vs. updated/current version
Thread-Index AQHOjh1a7IFfMAuQ7kyeEd9djSb2vpl/JSNQ
Date Wed, 31 Jul 2013 19:17:34 +0000
References <ktbldq$r5p$1@ger.gmane.org>
In-Reply-To <ktbldq$r5p$1@ger.gmane.org>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.67.79.47]
Content-Type text/plain; charset="us-ascii"
content-transfer-encoding quoted-printable
MIME-Version 1.0
X-DLP-FWD Yes
X-Brightmail-Tracker H4sIAAAAAAAAA+NgFmpnk+LIzCtJLcpLzFFi42JZ6Wptpvsy6WegQdNPc4v5c94wWRxpvcbq wOSxc9Zddo8X89+wBTBFNTDaJObl5ZcklqQqpKQWJ9squWQWJ+ckZuamFinoKngV5OYXpSfm 6SXn5yopZKbYKpkoKRTkJCan5qbmldgqJRYUpOalKNlxKWAAG6CyzDyF1Lzk/JTMvHRbJc9g f10LC1NLXUMlu5CMzGKF1NzEzByFhI3sGTcuHWUueMlXcbnjP3MD4xvuLkZODgkBE4npa2ax Q9hiEhfurWfrYuTiEBI4zCjx5H4vM4RzkFFi0retrHBO/84tUM4mRoljcyaygPSzCRhKHD/7 BGyWiECExInWE2C2sICNRMvpT8wQcVuJ9QtAxnIA2UYS29YEgoRZBFQl3sw4A1bOKxAicf38 SUYQW0hAQ+LVrIVsIDangKbEpMZpYHFGoFO/n1rDBGIzC4hL3HoynwniBQGJJXvOM0PYohIv H/9jhbDlJV5MeckGUa8jsWD3JyhbW2LZwtfMEHsFJU7OfMICcpqQgJrEvvW2IKaEAJ/E9rbq CYySs5Asm4Vk0Cwkg2YhGbSAkWUVo2RxbnqGoV5xWZFeabFeVkFuckZicapeXmrJJkZQ+qlp TdvBeHep7SFGAQ5GJR7eGZe+BwqxJpYVV+YeYpTgYFYS4X0UfDhQiDclsbIqtSg/vqg0J7X4 EGMVMMwmMkuJJucDU2NeSbyhsZmFgampoYGFoZEJVYSVxHmd1z4LFBJIBybb7NTUgtQimOVM HJxSDYyxlquXWU3YoWTBZ5983lJ4/YUfa0qiVI1/fXstyyDQdfexd+oBn6+nrxhO2BQxf0vY u1WaD0591r7wIHDfaf4DW7XX9c5zkKhMi009+l7FYv7Uykl9jA/09pR3pCnUH5jX9MhB8WvQ /unH5aRuiV4+6LbhaW5H97HPcgbOfU67rYQdVJ8Er16kxFKckWioxVxUnAgAdvRDV5oDAAA=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.52.1375298291.1251.python-list@python.org> (permalink)
Lines 53
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1375298291 news.xs4all.nl 15999 [2001:888:2000:d::a6]:35347
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:51696

Show key headers only | View raw


memilanuk wrote:
> Hello there,
> 
> What would be considered the correct/best way to run a current release
> of python locally vs. the installed system version?  On openSUSE 12.3,
> the repos currently have 2.7.3 and 3.3.0.  As far as I know, I'm not
> really hitting any limitations with the existing versions - my skills
> just aren't that far along - so its not a burning 'need' but I'm still
> curious/interested in the topic.

You should be able to install both Python 2 and 3 in most modern
Linux distributions (at the same time). I would not change the system
Python version.

If you are not blocked from running Python 3 by some necessary
dependency then you should use it. Otherwise, use the most
recent Python version you can. 

> 
> Also... in some places in the 'Net I see references to installing
> everything 'locally' via pip, etc. in virtualenvs and not touching the
> system installed version of python... yet most linux distros seem to
> have many/most such packages available in their package repos, which
> seems like it'd be easier to install via the package manager and let it
> keep things updated.  Could someone touch on what they feel the pros and
> cons would be either way?

Virtual envs are great if you work on multiple projects and want to 
keep each project's dependencies separate and manageable. This
will let you change dependencies to a newer version based on project 
rather than having to change the dependency for all projects.

Not to mention this also allows you to install packages on hosts
that you do not have access to install them to the system
packages directory.

On a personal machine, I would install some things like pip/virtualenv 
(/numpy maybe) to system packages directory but keep most packages in 
a project specific directory (i.e. virtualenv).


> 
> Thanks,
> 
> Monte



This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Using system python vs. updated/current version "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-07-31 19:17 +0000

csiph-web