f



Installed Python 3 on Mac OS X Yosemite but its still Python 2.7

--001a113ded2a0126060510bb5045
Content-Type: text/plain; charset=UTF-8

I am currently running OS X Yosemite (10.10.2) on my MacBook Pro... By
default, Apple ships Python 2.7.6 on Yosemite.

Just downloaded and ran this installer for Python 3:

python-3.4.3-macosx10.6.pkg

When I opened up my Terminal and typed in python, this is what came up:

Python 2.7.6 (default, Sep  9 2014, 15:04:36) [GCC 4.2.1 Compatible
Apple LLVM 6.0 (clang-600.0.39)] on darwinType "help", "copyright",
"credits" or "license" for more information.>>>

Sorry, I am very new to Python...

Question(s):

(1) Does anyone know where the Python 3.4.3 interpreter was installed?

(2) Do I need to uninstall Python 2.7.3 (if so, how do I go about doing
this) before setting a global environmental variable such as PYTHON_HOME to
the location of the installed Python 3.4.3?

Thank for taking the time to read this...

--001a113ded2a0126060510bb5045
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><p style=3D"margin:0px 0px 1em;padding:0px;border:0px;font=
-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,=
sans-serif;line-height:19.5px">I am currently running OS X Yosemite (10.10.=
2) on my MacBook Pro... By default, Apple ships Python 2.7.6 on Yosemite.</=
p><p style=3D"margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clea=
r:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line=
-height:19.5px">Just downloaded and ran this installer for Python 3:</p><p =
style=3D"margin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:bot=
h;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line-heig=
ht:19.5px">python-3.4.3-macosx10.6.pkg</p><p style=3D"margin:0px 0px 1em;pa=
dding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica N=
eue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">When I opened up my=
 Terminal and typed in python, this is what came up:</p><pre class=3D"" sty=
le=3D"margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;wi=
dth:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,&#39;Lucida Con=
sole&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstre=
am Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,sans-serif;color:rgb=
(57,51,24);word-wrap:normal;background-color:rgb(238,238,238)"><code style=
=3D"margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,&#3=
9;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,=
&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,sans-ser=
if;white-space:inherit"><span class=3D"" style=3D"margin:0px;padding:0px;bo=
rder:0px;color:rgb(43,145,175)">Python</span><span class=3D"" style=3D"marg=
in:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span class=3D"" st=
yle=3D"margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">2.7</span><spa=
n class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.=
</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rg=
b(128,0,0)">6</span><span class=3D"" style=3D"margin:0px;padding:0px;border=
:0px;color:rgb(0,0,0)"> </span><span class=3D"" style=3D"margin:0px;padding=
:0px;border:0px;color:rgb(0,0,0)">(</span><span class=3D"" style=3D"margin:=
0px;padding:0px;border:0px;color:rgb(0,0,0)">default</span><span class=3D""=
 style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span><span=
 class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> <=
/span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb=
(43,145,175)">Sep</span><span class=3D"" style=3D"margin:0px;padding:0px;bo=
rder:0px;color:rgb(0,0,0)">  </span><span class=3D"" style=3D"margin:0px;pa=
dding:0px;border:0px;color:rgb(128,0,0)">9</span><span class=3D"" style=3D"=
margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span class=3D"=
" style=3D"margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">2014</span=
><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,=
0)">,</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;col=
or:rgb(0,0,0)"> </span><span class=3D"" style=3D"margin:0px;padding:0px;bor=
der:0px;color:rgb(128,0,0)">15</span><span class=3D"" style=3D"margin:0px;p=
adding:0px;border:0px;color:rgb(0,0,0)">:</span><span class=3D"" style=3D"m=
argin:0px;padding:0px;border:0px;color:rgb(128,0,0)">04</span><span class=
=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">:</span>=
<span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(128,0=
,0)">36</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;c=
olor:rgb(0,0,0)">)</span><span class=3D"" style=3D"margin:0px;padding:0px;b=
order:0px;color:rgb(0,0,0)">=20
</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rg=
b(0,0,0)">[</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0=
px;color:rgb(0,0,0)">GCC </span><span class=3D"" style=3D"margin:0px;paddin=
g:0px;border:0px;color:rgb(128,0,0)">4.2</span><span class=3D"" style=3D"ma=
rgin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</span><span class=3D"" =
style=3D"margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">1</span><spa=
n class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> =
</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rg=
b(43,145,175)">Compatible</span><span class=3D"" style=3D"margin:0px;paddin=
g:0px;border:0px;color:rgb(0,0,0)"> </span><span class=3D"" style=3D"margin=
:0px;padding:0px;border:0px;color:rgb(43,145,175)">Apple</span><span class=
=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> LLVM </=
span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(=
128,0,0)">6.0</span><span class=3D"" style=3D"margin:0px;padding:0px;border=
:0px;color:rgb(0,0,0)"> </span><span class=3D"" style=3D"margin:0px;padding=
:0px;border:0px;color:rgb(0,0,0)">(</span><span class=3D"" style=3D"margin:=
0px;padding:0px;border:0px;color:rgb(0,0,0)">clang</span><span class=3D"" s=
tyle=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">-</span><span c=
lass=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">60=
0.0</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color=
:rgb(0,0,0)">.</span><span class=3D"" style=3D"margin:0px;padding:0px;borde=
r:0px;color:rgb(128,0,0)">39</span><span class=3D"" style=3D"margin:0px;pad=
ding:0px;border:0px;color:rgb(0,0,0)">)]</span><span class=3D"" style=3D"ma=
rgin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> on darwin
</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rg=
b(43,145,175)">Type</span><span class=3D"" style=3D"margin:0px;padding:0px;=
border:0px;color:rgb(0,0,0)"> </span><span class=3D"" style=3D"margin:0px;p=
adding:0px;border:0px;color:rgb(128,0,0)">&quot;help&quot;</span><span clas=
s=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span=
><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,=
0)"> </span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;col=
or:rgb(128,0,0)">&quot;copyright&quot;</span><span class=3D"" style=3D"marg=
in:0px;padding:0px;border:0px;color:rgb(0,0,0)">,</span><span class=3D"" st=
yle=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span cl=
ass=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">&qu=
ot;credits&quot;</span><span class=3D"" style=3D"margin:0px;padding:0px;bor=
der:0px;color:rgb(0,0,0)"> </span><span class=3D"" style=3D"margin:0px;padd=
ing:0px;border:0px;color:rgb(0,0,139)">or</span><span class=3D"" style=3D"m=
argin:0px;padding:0px;border:0px;color:rgb(0,0,0)"> </span><span class=3D""=
 style=3D"margin:0px;padding:0px;border:0px;color:rgb(128,0,0)">&quot;licen=
se&quot;</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;=
color:rgb(0,0,0)"> </span><span class=3D"" style=3D"margin:0px;padding:0px;=
border:0px;color:rgb(0,0,139)">for</span><span class=3D"" style=3D"margin:0=
px;padding:0px;border:0px;color:rgb(0,0,0)"> more information</span><span c=
lass=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0,0,0)">.</s=
pan><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rgb(0=
,0,0)">
</span><span class=3D"" style=3D"margin:0px;padding:0px;border:0px;color:rg=
b(0,0,0)">&gt;&gt;&gt;</span></code></pre><p style=3D"margin:0px 0px 1em;pa=
dding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetica N=
eue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">Sorry, I am very ne=
w to Python...</p><p style=3D"margin:0px 0px 1em;padding:0px;border:0px;fon=
t-size:15px;clear:both;font-family:&#39;Helvetica Neue&#39;,Helvetica,Arial=
,sans-serif;line-height:19.5px">Question(s):</p><p style=3D"margin:0px 0px =
1em;padding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helve=
tica Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">(1) Does anyo=
ne know where the Python 3.4.3 interpreter was installed?</p><p style=3D"ma=
rgin:0px 0px 1em;padding:0px;border:0px;font-size:15px;clear:both;font-fami=
ly:&#39;Helvetica Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">=
(2) Do I need to uninstall Python 2.7.3 (if so, how do I go about doing thi=
s) before setting a global environmental variable such as PYTHON_HOME to th=
e location of the installed Python 3.4.3?</p><p style=3D"margin:0px 0px 1em=
;padding:0px;border:0px;font-size:15px;clear:both;font-family:&#39;Helvetic=
a Neue&#39;,Helvetica,Arial,sans-serif;line-height:19.5px">Thank for taking=
 the time to read this...</p></div>

--001a113ded2a0126060510bb5045--
0
James
3/7/2015 11:39:30 PM
comp.lang.python 77058 articles. 6 followers. Post Follow

0 Replies
724 Views

Similar Articles

[PageSpeed] 36

Reply:

Similar Artilces:

Can I have both Python 2.7 and Python 3.1 at the same time on the Mac?
Hi All, I'm new to python, trying to learn it from a variety of resources, = including references posted recently to this list. I'm going through /www.openbookproject.net/thinkCSpy/ and find it makes = use of gasp, which apparently is not compatible with 3.1. I've also seen various resources indicate that one can install both = Python 2.7 and Python 3.1 -- but when I did this, I get no end of = problems in the 2.7 install. IDLE, in particular, fails rather = spectacularly, even if I launch it directly from the Python 2.7 = directory in which it resides. So, either I'...

I installed Python 3 on Fedora 14 By Downloading python3.2 bziped source tarball and install it according to the README, Now How shall I uninstalled python 3.2?
I installed Python 3 By Downloading python3.2 bziped source tarball and install it according to the README, Now How shall I uninstalled python 3.2? The README instructions are as below Build Instructions ------------------ On Unix, Linux, BSD, OSX, and Cygwin: ./configure make make test sudo make install Varuna Seneviratna wrote: > Now How shall I uninstalled > python 3.2? > Now, how shall I remove Python 3.2 ? .... very carefully. It might be nice if there were a label in the Makefile so this would work: sudo make removeall .... but alas, why do ...

Help with changes in traceback stack from Python 2.7 to Python 3.x
--Boundary_(ID_zsizNzSjxaSbvchkOcVtew) Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: quoted-printable I wrote the following code that works in Python 2.7 that takes the variabl= es passed to the function into a dictionary. The following call: strA =3D 'a' intA =3D 1 dctA =3D makeDict(strA, intA) produces the following dictionary: {'strA':'a', 'intA':1} To access the names passed into the function, I had to find the informatio= n by parsing through the stack. The code that used to w...

Pickle compatibility between Python 2.7 and python 3.2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have 10MB pickled structure generated in Python 2.7. I only use basic types (no clases) like sets, dictionaries, lists, strings, etc. The pickle stores a lot of strings. Some of them should be "bytes", while other should be "unicode". My idea is to import ALL the strings as bytes in Python 3.2 and navigate the data structure to convert the appropiate values to unicode, in a one-time operation (I version the structure, so I can know if this conversion is already done, simply storing a new version value). But I g...

doctests working both in Python 2.X and Python 3.X
I do not want to write two documentations for a module working both in Python 2.X and Python 3.X. To avoid that, I would need the ability to interpret doctests according to the used Python version. I mean something like that: """ Documentation of the module <mymodule> ----------------------------------------------------------------- If you are using Python 2.X you can check that >>> <2.X code> # doctest: <some directive for 2.X> <2.X output> whereas if you are using Python 2.X you can check that >>> <3.X ...

[RELEASED] Python 3.2.5 and Python 3.3.2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the releases of Python 3.2.5 and 3.3.2. The releases fix a few regressions in 3.2.4 and 3.3.1 in the zipfile, gzip and xml.sax modules. Details can be found in the changelogs: http://hg.python.org/cpython/file/v3.2.5/Misc/NEWS and http://hg.python.org/cpython/file/v3.3.2/Misc/NEWS To download Python 3.2.5 or Python 3.3.2, visit: http://www.python.org/download/releases/3.2.5/ or http://www.python.org/download/releases/3.3.2/ respectively. As...

[RELEASED] Python 3.2.5 and Python 3.3.2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the releases of Python 3.2.5 and 3.3.2. The releases fix a few regressions in 3.2.4 and 3.3.1 in the zipfile, gzip and xml.sax modules. Details can be found in the changelogs: http://hg.python.org/cpython/file/v3.2.5/Misc/NEWS and http://hg.python.org/cpython/file/v3.3.2/Misc/NEWS To download Python 3.2.5 or Python 3.3.2, visit: http://www.python.org/download/releases/3.2.5/ or http://www.python.org/download/releases/3.3.2/ respectively. As...

urlopen differences between python 2.3.3 and python 2.2???
I am using the code below and it works correctly on python2.2 but gives me a 404 not found error when running on python2.3.3. Is there some difference? Maybe python 2.3.3 is sending different headers? The params string looks to be encoded identically, so must be something with urlopen. Does anyone have any suggestions to get this working from python2.3.3?? Thanks in advance! import httplib,urllib def signup(self, REQUEST): """ Allows us to automatically sign-up a user. """ email = REQUEST['Email'] first_name = REQUEST['First...

stressing problem with Python < 3.3.3 / 2.7.6 and Mac OS 10.9 Mavericks
Hi, I'm not a regular MacPython user, but today I had to build Mac wheels for different versions of Python. To test the wheel files I set up a fresh Mac OS 10.9 Mavericks and and installed Python 3.2, 3.3, 3.4 from the python.org download page on it. Then I struggled for the rest of the afternoon to try to figure out why Python 3.2 crashed when I used my package in interactive mode until I finally realized that it's not the package but Python that's responsible. Turns out that I had run into http://bugs.python.org/issue18458 which probably every MacPython user h...

How to disable RTLD_NOW for Python 2.7.x dlopen() in Mac OS X Mavericks?
Hi, I've tried searching for topics related to dlopen() of dynamic libraries in= the list but there's nothing relevant or recent. I'm facing a problem with a 3rd party C/C++ Framework (dynamic library) on = Mac OS X which I'm trying to import into Python using ctypes. Unfortunately= OS X has deprecated a function which is called from the Framework and is n= o longer available as of 10.8+ (Mtn. Lion, now updated to Mavericks). In ad= dition, there is no recent version of the 3rd party framework available and= it does not look like it's actively updated. (The 3...

Python 2.3 and Mac OS X
I am most pleased with Python 2.3 on Mac OS X! A lot of stuff just plain works, "right out of the box", so to speak, that I had to struggle with a bit in order to install and get working properly, before. WxPython is notable in that category, and this helps PythonCard installation and use quite nicely. Thanks to Guido and all who contributed to Python 2.3! Also, I am pleased that Python 2.3 will be an integral part of the real-soon-now to be released Mac OS X 10.3, aka Panther. Python will soon be as mature on Mac OS X as it has already been on Linux and Windows. Lastly, I also w...

How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2)
Hi, How can I install Python on Debian GNU/Linux? I downloaded the file "Python-2.7.2.tar.bz2" but I don't know how to install it. Patrick. On Tue, Dec 6, 2011 at 1:53 AM, patrickwayodi <patrickwayodi@gmail.com> wrote: > Hi, > How can I install Python on Debian GNU/Linux? I downloaded the file > "Python-2.7.2.tar.bz2" but I don't know how to install it. You should actually already have Python installed. Try typing 'python' at a terminal and see if it invokes the interactive interpreter. ChrisA > You should actually already have Python ...

MySQL-python-1.2.1_p2, Python 2.5 and OS X Tiger
How do you install MySQL-python-1.2.1_p2 on a PPC OS X 10.4 machine with MySQL 4.1? >>> python setup.py build .... .... _mysql.c:2854: error: parse error before ')' token _mysql.c:2854: error: called object '&<erroneous-expression>' is not a function _mysql.c:2854: error: called object '&<erroneous-expression>' is not a function _mysql.c:2854: error: called object '*(&<erroneous-expression>)' is not a function lipo: can't figure out the architecture type of: /var/tmp//ccurx79n.out error: command 'gcc' failed w...

installing ppgplot (using OS X 10.3 / gcc 3.4 / python 2.3b)
I'm trying to install Nick Patavalis' ppgplot package on Mac OS X 10.3 with python 2.3. I first sent this message to Nick, but he said he doesn't have any experience with the Mac platform. after installing using python setup.py install (using Numeric; no error messages), and then in python trying >>> import ppgplot i get: Traceback (most recent call last): File "<stdin>", line 1, in ? File "/sw/lib/python2.3/site-packages/ppgplot/__init__.py", line 1, in ? from _ppgplot import * ImportError: Failure linking new module: : dyld: ...

Web resources about - Installed Python 3 on Mac OS X Yosemite but its still Python 2.7 - comp.lang.python

Pre-installed software - Wikipedia, the free encyclopedia
Bundled software is another name for pre-installed software, as pre-installed are all bundled with a hardware device of some kind. However, bundled ...

REPORT: Facebook Home Can Be Installed On All Android Devices Running 4.0 And Up
The good news: Facebook Home can now be run on all Android devices running version 4.0 of the mobile operating system or higher, even if they ...

HTC reveals HTC First, an Android smartphone pre-installed with Facebook Home
HTC today revealed the HTC First, the first Android smartphone that comes with Facebook Home pre-installed on the device. With Facebook Home ...

Introducing installed app category targeting: a new way to target users and gain insights into mobile ...
We’re excited to introduce installed app category targeting: a new tool that enables app advertisers to reach users based on the categories of ...

CPU fan installed - Flickr - Photo Sharing!
Explore Garrette's photos on Flickr. Garrette has uploaded 3652 photos to Flickr.

Gay-friendly traffic lights installed in Vienna - YouTube
Keep up-to-date with the latest news, subscribe here: http://bit.ly/AFP-subscribe Several pedestrian crossings in Vienna are showing symbols ...

Chris Gayle posts photos of strip club installed in his own house
... his party lifestyle off the cricket field, but the West Indian has gone to a whole new level by showing off the new "strip club" he has installed ...

Cameras installed on hull of ISS (00:59)
RAW VIDEO: Russian cosmonauts perform a spacewalk to install photographic and scientific equipment on the hull of the International Space Station. ...

Where in the US is solar installed?
New data shows that Californians' penchant for photovoltaics has them leading in pipeline capacity by a factor of five, while Nevada's love of ...

Giant Gollum installed at airport ahead of Hobbit film
A 12 metre-long sculpture carved using robotics and chainsaws has been installed at Wellington Airport ahead of The Hobbit premiere.

Resources last updated: 1/25/2016 10:10:11 PM