Python cannot install package with bad registry

Hi there,
I don’t know why Python cannot be found in the registry when I want to install a package. I have the version 2.6 of Python and the program is working just fine. Any solution ? Why I have this error when I want to install the package ?
Thank you !

Cannot install
Python version 2.6 required, which was not found in the registry.
