I am a python programming expert. And after upgrading to Ubuntu 10.04 Lucid Lynx from Ubuntu 9.10 Karmic Koala I started getting error while running python programs. It was showing errors related to module folder. So I downgraded my Kernel version from 2.6.33 to 2.6.32. But the problem prevailed. So, I downgraded my Ubuntu version from Lucid to Karmic, but the problem yet could not be solved. And then I again tried to downgraded my Kernel version from 2.6.32 to 2.6.31. After that it helped me. But after next reboot the same problem occurred. And then I searched for the module file but using following command in my terminal:
$: locate -i python| grep -i module
Then I searched for python module and I got the following location:
/usr/lib/pymodules/
/usr/lib/python2.6/
/usr/lib/pyshared/
Then I opened “Synaptic Manager” and then viewed for my python packages. Everything seemed to be fine. But I again tried to reinstall the python-2.6 then It installed all the dependencies that were not installed. After the installation, I rebooted my system and then tried opening my program. Hurray that worked and that has never changed. Now I am back in my track in python programming.
The problem how did that happened is due to my upgrade from karmic koala 9.10 to lucid lynx 10.04.


