Python Forum
I have an problem related to ujson in python - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: I have an problem related to ujson in python (/thread-33276.html)



I have an problem related to ujson in python - dixitaditya248 - Apr-12-2021

import ujson
Error:
Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /home/aditya/.local/lib/python2.7/site-packages/ujson.so: undefined symbol: Buffer_AppendShortHexUnchecked
How to fixed this? Please help me
thank you


RE: I have an problem related to ujson in python - buran - Apr-12-2021

https://github.com/ultrajson/ultrajson/issues/346
What version of ujson you use?


RE: I have an problem related to ujson in python - bowlofred - Apr-12-2021

Is there some reason you need python2.7? Python2 is no longer supported.

Looks like this was a problem with an older version for a while. The thread says a release last year fixed it and I would expect the current version on pypi.org should not do this. I was able to install it on a 2.7 release and it functioned okay.