I am trying to make a following call:
from simplejson import JSONDecodeError
But I am getting this error:
from simplejson import JSONDecodeError
ImportError: cannot import name JSONDecodeError
The following information may help:
This code runs fine in ubuntu but i get this error in mac.
I had multiple versions of python and I just erased python 2.6 (as i am using python 2.7)
and used
easy_install_27
to install this particular library.