I am new to this whole python deal, and admit that I am half lost - don't know whether I am coming or going. So, here's the question and I hope someone can assist me.
I am running a RedHat system and by default, it has python 2.4 installed. I have a python script that gives me an error when attempting to import json. 
I have checked my phpinfo and it shows that I have json version 1.2.1 (or something or other) - so why isn't Python recognizing that this json does exist? Is there a file that I need to edit to manually enter or edit where python looks for the json at, and if so, where?
I even tried installing simplejson and also python 3 - nothing has worked so far, and I have run out of hair to pull out.
Any help would be greatly appreciated - thanks in advance.
python needs the python module for json, which is not the same as the php module for json.
There are some to pick from, e.g. you can use python-cjson, so make sure that this module is installed.
You can ask rpm about which packages are installed like this: rpm -qa | grep json
Python - import json returning module not found