[issue20019] platform.py line _sys_version function

Wes report at bugs.python.org
Thu Dec 19 00:52:16 CET 2013


Wes added the comment:

Marc,

Here was the initial output:

>>> platform.__file__
'/Users/wesmadrigal/anaconda/lib/python2.7/platform.pyc'
>>> import sys
>>> sys.version
'2.7.6 |Anaconda 1.8.0 (x86_64)| (default, Nov 11 2013, 10:49:09) \n[GCC
4.0.1 (Apple Inc. build 5493)]'

Here is what I had when I reverted back to the standard $PATH that comes
stock in Mac OSX Mountain Lion on this new Macbook Pro:

>>> platform.__file__
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.pyc'
>>> import sys
>>> sys.version
'2.7.5 (default, Sep 12 2013, 21:33:34) \n[GCC 4.2.1 Compatible Apple LLVM
5.0 (clang-500.0.68)]'

On Wed, Dec 18, 2013 at 5:46 PM, Marc-Andre Lemburg
<report at bugs.python.org>wrote:

>
> Marc-Andre Lemburg added the comment:
>
> On 19.12.2013 00:39, Wes wrote:
> >
> > Marc
> >
> > Thanks for getting back to me so quickly on this.  I'm running an apple
> > version of python from the looks of it.  I was running an Anaconda
> version
> > at the time I posted this script, but I just reset my $PATH variable to
> use
> > the mac factory python and still got the error.
> >
> > Python 2.7.5 (default, Sep 12 2013, 21:33:34)
> > [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
> > Type "help", "copyright", "credits" or "license" for more information.
>
> That looks pretty much the same.
>
> I suspect that either Apple changed something in their Python
> version or that pip is picking up a non-standard platform.py
> from somewhere.
>
> Could you check platform.__file__ and sys.version ?
>
> ----------
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue20019>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20019>
_______________________________________


More information about the Python-bugs-list mailing list