Share via

problem on installing python & R on sql server 2019

Proctor, William 1 Reputation point
2022-05-10T14:25:06.007+00:00

installing python & R keeps failing when installing on sql server 2019.

Action required:
Use the following information to resolve the error, uninstall this feature, and then run the setup process again.

Feature failure reason:
An error occurred during the setup process of the feature.

Error details:
§ Error installing Unknown
Python Install failed. Check /logfile "C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20220510_090831\RSetup.log" for details.
Error code: 0x80131500
Visithttps://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.2000.5&EvtType=0x40E21AA9%400xC68B78F0&EvtType=0x40E21AA9%400xC68B78F0 to get help on troubleshooting.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


1 answer

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,756 Reputation points
    2022-05-11T02:10:07.583+00:00

    Hi @Proctor, William ,

    Welcome to Microsoft Q&A!
    You need uninstall current instance completely and reinstall a new one or just install another new instance.
    Note: Don't forget to install with clicking run as administrator.
    Here are some steps to remove all components of previous installed SQL Server completely:

    1. Remove all SQL Server components from 'Programs and Features'
    2. Backup the registry
    3. Delete the following keys in regedit:
      --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
      --HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
    4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server
    5. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server
    6. Reboot the machine

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.