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


Groups > comp.lang.python > #25024

Re: git_revision issues with scipy/numpy/matplotlib

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <sdavis.webb@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'example:': 0.03; 'warnings': 0.03; 'explicitly': 0.04; 'alias': 0.07; 'skip:/ 10': 0.07; 'python': 0.09; 'default:': 0.09; 'path,': 0.09; 'path.': 0.09; 'prepended': 0.09; 'python:': 0.09; 'cc:addr:python-list': 0.10; '8:40': 0.16; 'caveats': 0.16; 'done),': 0.16; 'overriding': 0.16; 'skip:/ 50': 0.16; 'wrote:': 0.17; 'skip:p 30': 0.20; 'versions': 0.20; 'define': 0.20; 'received:209.85.214.174': 0.21; 'x-mailer:apple mail (2.1084)': 0.22; 'cc:2**0': 0.23; 'installed': 0.23; "i've": 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In- Reply-To:1': 0.25; '(which': 0.26; 'select': 0.26; 'skip:m 30': 0.26; 'am,': 0.27; 'easiest': 0.27; 'subject:/': 0.28; 'received:192.168.1.3': 0.29; 'writes:': 0.29; 'url:mailman': 0.29; 'install': 0.29; 'url:python': 0.32; 'url:listinfo': 0.32; 'getting': 0.33; 'rid': 0.33; 'front': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'path': 0.35; 'received:209.85': 0.35; 'message-id:@gmail.com': 0.36; 'url:org': 0.36; 'anything': 0.36; 'subject:with': 0.36; 'charset:us-ascii': 0.36; 'does': 0.37; 'python.org': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'received:209.85.214': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'url:mail': 0.40; 'think': 0.40; 'remove': 0.61; 'header:Message-Id:1': 0.62; 'jul': 0.65; 'skip:/ 30': 0.91; 'python.org,': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=RTAPCuKhuzuYJoLYUbE/3OATjczvmv86qfue7s3qLQg=; b=mtorBp1uZ/6y9b79fA2dxVsZzQT8PvCPU9jV3W95A08ae0ccAJhjHy1C7PTVuuMOhg 7yfB0VUm6cdwSsXwn2OlqE+ZJ2KvPAXrpr1Zri+BFUgBI2ot3QAK0rdBTyrDQsE66Ufb rURqyOmBfNx0l6fAeNZwvcQ07ksOaNtuD49njfbj/slsjE6/o1Y9Pz5n8jYDUepx/gkf YnxtexnsWKpmYksge+ZCJvq/z/BMjPXfWc2wxk3HxnfH8AGRMuLKHcxOtMtXr9m0fOBX V9as/xBAHGR9o7mi/AWVHqDBnU8Ld8g20/DWShIgspv/59Z5ZMjsht8aFKK/S2zbY2Xx zzQg==
Subject Re: git_revision issues with scipy/numpy/matplotlib
Mime-Version 1.0 (Apple Message framework v1084)
Content-Type text/plain; charset=us-ascii
From Stephen Webb <sdavis.webb@gmail.com>
In-Reply-To <4ff84a7c$0$6878$e4fe514c@news2.news.xs4all.nl>
Date Sat, 7 Jul 2012 09:57:10 -0600
Content-Transfer-Encoding quoted-printable
References <mailman.1882.1341640081.4697.python-list@python.org> <4ff80d06$0$6909$e4fe514c@news2.news.xs4all.nl> <87zk7bg4bv.wl%ousmane@wilane.org> <4ff84a7c$0$6878$e4fe514c@news2.news.xs4all.nl>
To Hans Mulder <hansmu@xs4all.nl>
X-Mailer Apple Mail (2.1084)
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.1894.1341676636.4697.python-list@python.org> (permalink)
Lines 51
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1341676637 news.xs4all.nl 6986 [2001:888:2000:d::a6]:39746
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:25024

Show key headers only | View raw


I think the easiest thing to do would be to remove the python.org Python entirely, kill it from the path (which I've already done), and install directly a MacPorts version of Python.

Any caveats or warnings about getting rid of the /Library/Frameworks/Python.... directory?

On Jul 7, 2012, at Jul 7 8:40 AM, Hans Mulder wrote:

> On 7/07/12 14:09:56, Ousmane Wilane wrote:
>>>>>>> "H" == Hans Mulder <hansmu@xs4all.nl> writes:
>> 
>>    H> Or you can explicitly type the full path of the python you want.
>> 
>>    H> Or you can define aliases, for example:
>> 
>>    H> alias apple_python=/usr/bin/python alias
>>    H> macport_python=/opt/local/bin/python
>> 
>>    H> lfpv=/Library/Frameworks/Python.framework/Versions alias
>>    H> python_org_python=$lfpv/2.7/bin/python
>> 
>> 
>> Or alternatively use `port select --set' to make one of the MacPort version the
>> default:
>> 
>> imac:~ wilane$ port select --list python
>> Available versions for python:
>>          none
>>          python25-apple
>>          python26
>>          python26-apple
>>          python27 (active)
>>          python27-apple
>>          python32
> 
> That would work if the OP had /opt/local/bin early in his searcht path.
> However, the OP has installed Python27 from python.org, and that has
> prepended /Library/Frameworks/Python.framework/Versions/2.7/bin to
> his PATH, overriding anything he does with "port select".
> 
> He could, of course, change his PATH and move /opt/local/bin to the
> front and then use "port select".
> 
> -- HansM
> -- 
> http://mail.python.org/mailman/listinfo/python-list

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


Thread

git_revision issues with scipy/numpy/matplotlib Stephen Webb <sdavis.webb@gmail.com> - 2012-07-06 23:47 -0600
  Re: git_revision issues with scipy/numpy/matplotlib Hans Mulder <hansmu@xs4all.nl> - 2012-07-07 12:18 +0200
    Re: git_revision issues with scipy/numpy/matplotlib Ousmane Wilane <ousmane@wilane.org> - 2012-07-07 14:09 +0200
      Re: git_revision issues with scipy/numpy/matplotlib Hans Mulder <hansmu@xs4all.nl> - 2012-07-07 16:40 +0200
        Re: git_revision issues with scipy/numpy/matplotlib Stephen Webb <sdavis.webb@gmail.com> - 2012-07-07 09:57 -0600

csiph-web