I have installed the modules (for example: configobj, matplotlib, etc.) but when I try to import these modules in my Python script and try to run those scripts using Linux/Ubuntu 14 command prompt, it is giving "ImportError: No module named configobj". But if I try to import the same module using ipython, it is not giving any issue. Python version: 2.7.6 (when I checked with sys.version in ipython)
I have already installed anaconda. I don't know whether it can trigger any issues.
Tried: Python error "ImportError: No module named"
I have tried changing $PYTHONPATH to point to anaconda lib/ directory as it was suggested in some post on stackoverflow only. Also, checked many questions here but unable to find any solution.
Followed some other links as well.
Thanks :)