1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Python issue: LookupError: unknown encoding: hex

Discussion in 'Web Design & Development' started by Zenoxio, Nov 3, 2011.

Thread Status:
Not open for further replies.
  1. Zenoxio

    Zenoxio Thread Starter

    Jul 17, 2006
    I'm using a Twitter API called Tweepy. It has been working fine, then I rebooted the server and now I'm getting this:

    >>> import tweepy
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "tweepy/__init__.py", line 17, in <module>
        from tweepy.streaming import Stream, StreamListener
      File "tweepy/streaming.py", line 16, in <module>
        json = import_simplejson()
      File "tweepy/utils.py", line 83, in import_simplejson
        import simplejson as json
      File "build/bdist.linux-i686/egg/simplejson/__init__.py", line 111, in <module>
      File "build/bdist.linux-i686/egg/simplejson/decoder.py", line 29, in <module>
      File "build/bdist.linux-i686/egg/simplejson/decoder.py", line 21, in _floatconstants
    LookupError: unknown encoding: hex
    I tried this too:
    But it didn't help.

    Any ideas? I haven't changed anything and it just stopped working.
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1025298

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice