This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wesmadrigal
Recipients lemburg, wesmadrigal
Date 2013-12-18.23:08:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387408127.09.0.79406077892.issue20019@psf.upfronthosting.co.za>
In-reply-to
Content
Marc-Andre,
I'm on a Macbook pro OSX Mountain Lion

I've been automating virtual environment builds locally and remotely, but it seems that when my "pip install -r requirements.txt" tries to run and download.py in pip/ runs it invokes "platform.py".  I'm getting a user-agent issue from the _sys_version function.  Here is the error:



  File "/Users/me/anaconda/lib/python2.7/platform.py", line 1500, in python_implementation
    return _sys_version()[0]

  File "/Users/me/anaconda/lib/python2.7/platform.py", line 1464, in _sys_version
    repr(sys_version))
ValueError: failed to parse CPython 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)]'


I've found the following stack that also references this error:

http://stackoverflow.com/questions/19105255/praw-failed-to-parse-cpython-sys-version-when-creating-reddit-object
History
Date User Action Args
2013-12-18 23:08:47wesmadrigalsetrecipients: + wesmadrigal, lemburg
2013-12-18 23:08:47wesmadrigalsetmessageid: <1387408127.09.0.79406077892.issue20019@psf.upfronthosting.co.za>
2013-12-18 23:08:46wesmadrigallinkissue20019 messages
2013-12-18 23:08:45wesmadrigalcreate