SQL Server 2025 Preview - Where is Python and R Language support

Peter Bishop 231 Reputation points
2025-11-18T09:41:23.46+00:00

I'm looking at the SQL Server 2025 Preview and am wondering if "Machine Learning Services (In-Database)" (i.e. Pyton and R Language support) is no longer an available feature. Or am I just missing a selection box during the installation? Thanks.

SQL Server Database Engine
0 comments No comments
{count} votes

Answer accepted by question author
  1. Erland Sommarskog 129.1K Reputation points MVP Volunteer Moderator
    2025-11-18T15:06:45.8133333+00:00

    I haven't checked what applies specifically to SQL 2025, but already SQL 2022 shipped without R and Python, so there is nothing new here.

    The reason Microsoft made this change is that new versions of R and Python come out more often than new versions of SQL Server, so it would not be a good thing to ship versions of R and Python that are outdated or soon will be.

    For how to add Python and R to SQL 2022, you can for instance see this blog post from Greg Low: https://blog.greglow.com/2024/03/04/fix-getting-r-and-python-to-actually-work-on-sql-server-2022/. It should be applicable to SQL 2025 as well.


1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2025-11-18T09:41:37.8433333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    In SQL Server 2025 Preview, Machine Learning Services (In-Database) is still available, which includes support for Python and R. However, it is important to ensure that you select the appropriate options during the installation process. Specifically, you need to choose the Machine Learning Services and Language Extension option to enable the execution of Python and R scripts within SQL Server. Additionally, you should select the options for R and Python to include the necessary packages and interpreters.

    If you are not seeing the selection box, make sure you are following the installation steps correctly and that you are using a version of SQL Server that supports these features.


    References:

    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.