allow to reinstall or repair Python, R (and other components)
When some components like Python or R are not correct installed then I can't find a way to reinstall them. These components can't be removed, the repair will not work, the Link in the error description will not work. But there should be a way to repair these components.
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, and then try the setup process again.
Component error code: 0x84B40002
Error description: The SQL Server feature 'sqlinstmpy' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0x2841E06E%401204%402&EvtType=0x2841E06E%401204%402