When I try to ‘import simplejson’ (or something that depends on it) in IronPython 2.0, I get ‘LookupError: unknown encoding: hex’. How do I make this work?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The workaround for this is to import the hex codec manually before attempting to import the broken dependency:
The issue is being tracked by IronPython, but so far, they claim it’s a bug in the standard Python library.