Wes added the comment: 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. On Wed, Dec 18, 2013 at 5:17 PM, Marc-Andre Lemburg <rep...@bugs.python.org>wrote: > > Marc-Andre Lemburg added the comment: > > I have tried this with a stock Python 2.7.6 version and don't get an error: > > >>> platform._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)]') > ('CPython', '2.7.5', '', '', 'default', 'Sep 12 2013 21:33:34', 'GCC 4.2.1 > Compatible Apple LLVM 5.0 (clang-500.0.68)') > > The stackoverflow posting you mentioned obviously uses a Python version > that was modified in incompatible ways, so it doesn't apply here. > > Are you running an Apple version of Python or one that was installed using > the python.org installer ? > > ---------- > components: +Library (Lib) -2to3 (2.x to 3.x conversion tool) > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue20019> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20019> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com