How to connect the Azure data studio python kernal as wsl python

Balaji Shanmugam 0 Reputation points
2023-02-02T17:29:03.0166667+00:00

Hi Team,

I setup my local development environment in ubuntu wsl in my windows machine.

i am going to start exploring and play with Azure Data Studio

i want to try python kernel in Azure Data Studio. i don't want to install it again. i just want to connect via my wsl python.

How to do that ?

Thanks & Regards,

Balaji Shannmugam.

Azure SQL Database
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. BhargavaGunnam-MSFT 25,881 Reputation points Microsoft Employee
    2023-02-06T18:22:21.3433333+00:00

    Hello @Balaji Shanmugam,

    Welcome to the MS Q&A platform.

    You will need to install the machine learning extension for Azure data studio to use the Python kernel in Azure Data Studio.

    Once the extension is installed, you can select the new notebook from the file menu and run a notebook in Azure Data Studio using the Python kernel. Please see the below documents for your reference.

    https://learn.microsoft.com/en-us/sql/azure-data-studio/extensions/machine-learning-extension?view=sql-server-ver16

    https://learn.microsoft.com/en-us/sql/azure-data-studio/notebooks/notebooks-python-kernel?view=sql-server-ver16

    I hope this helps. Please let us know if you have any further questions.