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


Groups > comp.lang.python > #94921

Re: I'm a newbie and I'm still stumped...

From Dave Farrance <df@see.replyto.invalid>
Newsgroups comp.lang.python
Subject Re: I'm a newbie and I'm still stumped...
Message-ID <ts8uradnhvig3rt9f3h3rs4prppqhflvo4@4ax.com> (permalink)
References <D1E0EED9.10BBA2%Dwight@GoldWinde.com> <mpis6l$b9f$1@ger.gmane.org> <mailman.1171.1438585158.3674.python-list@python.org>
Organization virginmedia.com
Date 2015-08-03 09:27 +0100

Show all headers | View raw


Dwight GoldWinde <Dwight@GoldWinde.com> wrote:

>Here are the results I got below, showing the same error. The first line
>says, 
>"2.7.6 (default, Sep 9 2014, 15:04:36)”. 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 “Python 3.4” 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)

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


Thread

Re: I'm a newbie and I'm still stumped... Dwight GoldWinde <Dwight@GoldWinde.com> - 2015-08-03 14:57 +0800
  Re: I'm a newbie and I'm still stumped... Paul Rubin <no.email@nospam.invalid> - 2015-08-03 00:14 -0700
    FW: I'm a newbie and I'm still stumped... Dwight Hotmail <GoldWinde@hotmail.com> - 2015-08-03 16:19 +0800
  Re: I'm a newbie and I'm still stumped... Dave Farrance <df@see.replyto.invalid> - 2015-08-03 09:27 +0100
    Re: I'm a newbie and I'm still stumped... Dwight GoldWinde <Dwight@GoldWinde.com> - 2015-08-03 16:56 +0800
      Re: I'm a newbie and I'm still stumped... Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-08-03 12:49 +0300

csiph-web