Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3266
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <bblais@bryant.edu> |
| 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; 'skip:# 20': 0.03; 'subject:" ': 0.03; 'versions,': 0.05; 'received:verizon.net': 0.07; 'skip:/ 40': 0.07; 'python': 0.07; 'etc...': 0.09; 'header :In-reply-to:1': 0.09; 'received:206.46': 0.09; 'received:206.46.173': 0.09; 'am,': 0.14; 'wrote:': 0.14; '2.3,': 0.16; 'osx': 0.16; 'python2.5': 0.16; 'received:206.46.173.17': 0.16; 'received:vms173017pub.verizon.net': 0.16; 'skip:/ 50': 0.16; 'subject:command': 0.16; 'versions': 0.18; 'cc:2**0': 0.20; 'work,': 0.20; 'cc:addr:python-list': 0.22; 'version.': 0.23; 'skip:# 10': 0.25; 'url:edu': 0.28; 'installed': 0.29; 'problem': 0.29; 'subject:not': 0.29; 'cc:addr:python.org': 0.31; 'points': 0.31; '2.5,': 0.31; 'subject:working': 0.31; 'using': 0.34; 'change': 0.34; 'there': 0.35; '2.6': 0.35; 'brian': 0.36; 'charset:us-ascii': 0.36; 'system.': 0.37; 'two': 0.37; 'should': 0.37; 'apr': 0.38; 'comes': 0.39; "it's": 0.40; 'url:blogspot': 0.61; 'received:home': 0.84 |
| Subject | Re: TextWrangler "run" command not working properly |
| MIME-version | 1.0 (Apple Message framework v1084) |
| Content-type | text/plain; charset=us-ascii |
| From | Brian Blais <bblais@bryant.edu> |
| In-reply-to | <oakwood-239C29.10512015042011@news.free.fr> |
| Date | Fri, 15 Apr 2011 05:57:17 -0400 |
| Content-transfer-encoding | quoted-printable |
| References | <oakwood-DAC806.22525414042011@news.free.fr> <382709dd-5e3f-4b07-a642-4ce141ef442b@18g2000prd.googlegroups.com> <oakwood-239C29.10512015042011@news.free.fr> |
| To | Fabio <oakwood@email.it> |
| X-Mailer | Apple Mail (2.1084) |
| Cc | "python-list@python.org" <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.393.1302865048.9059.python-list@python.org> (permalink) |
| Lines | 42 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1302865048 news.xs4all.nl 65870 [::ffff:82.94.164.166]:57984 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3266 |
Show key headers only | View raw
Hello Fabio You have two versions of 2.6 on your system. On Apr 15, 2011, at 4:51 AM, Fabio wrote: > I have the "built-in" Python2.5 which comes installed by "mother Apple". My OSX comes with 2.3, 2.5, and 2.6. :) These are under: /System/Library/Frameworks/Python.framework/Versions/ ^^^^^^^^^ the ones you installed are under: /Library/Frameworks/Python.framework/Versions/ I can reproduce this problem on my system, because /usr/bin/python2.6 points to the system version. There is an easy solution: #!/usr/bin/env python will work, or, #!/usr/local/bin/python it's better to use the former, as it will work even as you change versions, etc... You should avoid using the shebang with a *specific* python version. just use #!/usr/bin/env python bb -- Brian Blais bblais@bryant.edu http://web.bryant.edu/~bblais http://bblais.blogspot.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
[Mac OSX] TextWrangler "run" command not working properly Fabio <oakwood@email.it> - 2011-04-14 22:52 +0200
Re: TextWrangler "run" command not working properly Jon Clements <joncle@googlemail.com> - 2011-04-14 14:01 -0700
Re: TextWrangler "run" command not working properly Ernest Obusek <ernest@willowfalls.net> - 2011-04-14 17:14 -0400
Re: TextWrangler "run" command not working properly Fabio <oakwood@email.it> - 2011-04-17 14:07 +0200
Re: TextWrangler "run" command not working properly Fabio <oakwood@email.it> - 2011-04-15 10:51 +0200
Re: TextWrangler "run" command not working properly Brian Blais <bblais@bryant.edu> - 2011-04-15 05:57 -0400
csiph-web