I'm trying to install the module bz2 on python v2.7. I'm using Ubuntu 12.04 LTS and I have already installed libbz2-dev through Synaptic.
I read that I need to rebuild python to take the changes of libbz2-dev (file headers). But I know that the process is dangerous on Ubuntu since the OS uses python.
Do you have a process to install bz2 or to recompile python safely ?