Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'python)': 0.05; 'bash': 0.07; 'aliases': 0.09; 'subject:still': 0.09; 'python': 0.10; '$path': 0.16; '>on': 0.16; 'echo': 0.16; 'path:': 0.16; 'python3.': 0.16; 'python3:': 0.16; 'received:yourhostingaccount.com': 0.16; 'wrote:': 0.16; 'python?': 0.18; 'os,': 0.22; 'sep': 0.22; 'downloaded': 0.24; 'header:In-Reply-To:1': 0.24; "i've": 0.25; 'header:User-Agent:1': 0.26; 'figure': 0.27; '(e.g.': 0.27; 'skip:# 10': 0.27; '(it': 0.29; 'there.': 0.30; 'url:mailman': 0.30; 'folder': 0.30; 'error.': 0.31; 'statement': 0.32; 'point': 0.33; 'url:python': 0.33; 'url:listinfo': 0.34; 'file': 0.34; 'running': 0.34; 'gives': 0.35; 'could': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:10.20': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'being': 0.37; 'mac': 0.37; 'received:66': 0.38; 'thank': 0.38; 'mean': 0.38; 'sure': 0.39; 'whatever': 0.39; 'does': 0.39; 'url:mail': 0.40; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'results': 0.66; '4:55': 0.84; 'commands.': 0.84; 'received:10.20.15.10': 0.84; 'received:66.96.187': 0.84; 'received:bosmailscan10.eigbox.net': 0.84; '2014,': 0.91; 'received:112': 0.93 X-Authority-Analysis: v=2.1 cv=MLvumapl c=1 sm=1 tr=0 a=FLmnjis/JmE4jomwi6pJ+A==:117 a=udqrBR1D2HMiW0oUly8BNg==:17 a=pq4jwCggAAAA:8 a=QPcu4mC3AAAA:8 a=8_iErv3XAAAA:8 a=1E9jo8_qk6kA:10 a=wpL1jeqTJocA:10 a=8nJEP1OIZ-IA:10 a=uRRa74qj2VoA:10 a=8AHkEIZyAAAA:8 a=0BV1GXKAm9BXStD1omMA:9 a=wPNLvfGTeEIA:10 a=CT8-vfNvTE4A:10 User-Agent: Microsoft-MacOutlook/14.4.7.141117 Date: Mon, 03 Aug 2015 16:56:49 +0800 Subject: Re: I'm a newbie and I'm still stumped... From: Dwight GoldWinde To: Python Python Thread-Topic: I'm a newbie and I'm still stumped... References: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable X-EN-UserInfo: 6c5a25a10f5591a3de9585e9195aba16:931c98230c6409dcc37fa7e93b490c27 X-EN-AuthUser: dwight@goldwinde.com Sender: Dwight GoldWinde X-EN-OrigIP: 112.112.46.139 X-EN-OrigHost: unknown X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1438594259 news.xs4all.nl 2826 [2001:888:2000:d::a6]:48148 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94922 On 8/3/15, 4:55 PM, "Dwight GoldWinde" wrote: >Okay, thank you, Dave, so I got the following info: >type $(which python3) >/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 is >/Library/Frameworks/Python.framework/Versions/3.4/bin/python3 > > >But I can=B9t figure out what short of =B3usr=B2 statement (e.g. #!/usr/bin/env >python3) I need to point it there. Whatever I tried, still gives me >version 2. > >??? > >Dwight > >On 8/3/15, 4:27 PM, "Dave Farrance" wrote: > >>Dwight GoldWinde wrote: >> >>>Here are the results I got below, showing the same error. The first line >>>says,=20 >>>"2.7.6 (default, Sep 9 2014, 15:04:36)=B2. Does that mean I am running the >>>old Python? How could that be since I am SURE I downloaded 3.4.3 (it >>>even >>>gives the folder name as =B3Python 3.4=B2 in the Applications folder on my >>>Mac. >> >>Yes, that's Python2. I've never used MAC OS, but I understand that it >>has the BASH shell, so you can use "which" try to figure out where >>python is being found on the path: >> >>$ echo $PATH >> >>$ which python >> >>Use the above to also check for the position of python2 and python3. >> >>You can check for aliases and links with the "type" and "file" commands. >>Do this for python, python2 and python3: >> >>$ type $(which python) >> >>$ file $(which python) >>--=20 >>https://mail.python.org/mailman/listinfo/python-list