SQL Server2022 machine learning service using python error

Jerry 25 Reputation points

My SQL Server version is 2022, and python version is 3.11.

While installing machine learning service in my laptop, it raised "can not import pylink".

Then I install this module using pip. Did not work!

I followed the doc https://learn.microsoft.com/zh-cn/sql/machine-learning/install/sql-machine-learning-services-windows-install-sql-2022?view=sql-server-ver16, but the version of python is 3.10

Does python version matter?

On another laptop, the same version of Server, but the version of python is 3.10, it works fine. And it's strange that it does not have pylink module.

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

Accepted answer
  1. ShaktiSingh-MSFT 11,136 Reputation points Microsoft Employee

    Hi Jerry •,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others Opens in new window or tab", I'll repost your solution in case you'd like to "Accept Opens in new window or tab" the answer.

    Solution: Rollbacking Python version to 3.10 worked.

    If you have any other questions or are still running into more issues, please let me know.
    Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


    0 comments No comments

0 additional answers

Sort by: Most helpful