plexconnect errors

I have been doing every thing exactly the same for months

today when i ran the sudo command, plexconnect failed

 

it gave me the followingmessage

did not even get to looking for a higher fns or atv

 

Traceback (most recent call last):

  File "./PlexConnect.py", line 18, in

    import DNSServer, WebServer

  File "/plex/WebServer.py", line 30, in

    import Subtitle

  File "/plex/Subtitle.py", line 12, in

    import json

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 108, in

    from .decoder import JSONDecoder

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 24, in

    NaN, PosInf, NegInf = _floatconstants()

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 18, in _floatconstants

    _BYTES = '7FF80000000000007FF0000000000000'.decode('hex')

LookupError: unknown encoding: hex

Waheeds-Mac-mini:plex Waheed$

Just a quick Follow up incase anyone gets this also

Downloaded python 2.7.8 and installed

Everything seems to be working now