I've installed ujson using command pip install ujson
and when I've tried to run my python project it returns
ImportError: No module named ujson
Any help please?
ujson (UltraJSON) is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. orjson is a fast, correct JSON library for Python. It is the fastest python library for json encoding & decoding. It serializes dataclass, datetime, numpy, and UUID instances natively.
uJson is a new JSON library for the Scala programming language. It serves as the back-end for the uPickle serializaiton library, but can be used standalone to manipulate JSON in a way that is fast, flexible and intuitive, far more than the existing JSON libraries in the Scala library ecosystem.
The problem was that the PYTHONPATH variable is empty, and when I added the path to the variable it works.
export PYTHONPATH=$PYTHONPATH:/usr/lib64/python2.7/site-packages
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With