Unable to set up sqlserver 2022 with machine learning services on RHEL9.5

Valluri, Kalyan 0 Reputation points
2025-01-28T07:08:24.08+00:00

I've followed the steps as suggested by Microsoft to set up the sqlserver 2022 with Machine learning services on RHEL9.5 but I'm unable to execute the python script. I'm getting an error message stating that the python cannot be found.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,482 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 19,426 Reputation points MVP
    2025-01-28T07:29:06.02+00:00

    Hi Valluri, Kalyan

    Please share us the error details as screenshot so that we can see the exact issue

    Meantime, please check, if you have completed the following steps successfully to have Python support

    Setup Python support

    Hope this helps.


    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. ZoeHui-MSFT 40,586 Reputation points
    2025-02-03T01:57:00.3733333+00:00

    Hi @Valluri, Kalyan,

    1. Open Command Prompt > Type Python Or py > Hit Enter If Python Is Installed it will show the version Details Otherwise It will Open Microsoft Store To Download From Microsoft Store
    2. Just go in cmd and type where python if it installed it will open a prompt .

    Sometimes it may not work if environment variable is not set up, so you can also check by where python in cmd. If where python returns something hot to that path and see for python.exe

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

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