मैं ट्वीपी नामक एक ट्विटर एपीआई का उपयोग कर रहा हूं। यह ठीक काम कर रहा किया गया है, तो मैं सर्वर रिबूट और अब मैं इस हो रही है:पायथन: लुकअप त्रुटि: अज्ञात एन्कोडिंग: हेक्स
>>> 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
मैं यह भी कोशिश की:
from encodings import hex_codec
और यह मदद नहीं की।
कोई विचार क्यों?
वहाँ आप रिबूट करने के बाद से खो दिया है पर्यावरण की स्थापना के कुछ प्रकार है? – Raz
मुझे नहीं पता कि। – Zeno