Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
mhaupt
Frequent Visitor

Issues setting up Synapse VS code on VS desktop

Hi there,

Hoping someone might be able to assist with setting up Synapse VS code on my VS desktop.  The issue I have is that I don't have the "synapse-spark-kernel" created.  Instead I have a couple of other kernels "fabric-synapse-runtime". 

mhaupt_0-1709696393042.png

.. and neither seems to execute spark on the Jupyter notebook

mhaupt_2-1709696446561.png

Basically I have followed all the processes here, https://learn.microsoft.com/en-us/fabric/data-engineering/setup-vs-code-extension

 

1 ACCEPTED SOLUTION
v-nikhilan-msft
Community Support
Community Support

Hi @mhaupt 
Thanks for using Fabric Community.
Apologies for the issue. The issue is with the Microsoft Document. The document has not been updated yet. You are receiving the correct runtimes. You can select any one of the "fabric-synapse-runtime" based on your notebook. The runtime version should same as your notebook.

Coming to the code part VScode.dev(web version of VS code) can run %%sql, but desktop does not support this magic command yet. Only %pip is supported for now.

Hope this helps. Please let me know if you have any further questions.

View solution in original post

6 REPLIES 6
Tom_CA
Helper I
Helper I

Hey guys, how did you solve this issue? I don't see any fabric-synapse-runtime on my VScode desktop.

Could you help me?

 

 

Tom_CA_0-1721510823910.png

Thank you!!

khoirockfeather
Frequent Visitor

I have the same issue and I cant use neither the runtime kernel to run spark code. PLease help

Apologies @khoirockfeather I ended up not using Pyspark, went with plan vanilla Python/Polars for my project

v-nikhilan-msft
Community Support
Community Support

Hi @mhaupt 
Thanks for using Fabric Community.
Apologies for the issue. The issue is with the Microsoft Document. The document has not been updated yet. You are receiving the correct runtimes. You can select any one of the "fabric-synapse-runtime" based on your notebook. The runtime version should same as your notebook.

Coming to the code part VScode.dev(web version of VS code) can run %%sql, but desktop does not support this magic command yet. Only %pip is supported for now.

Hope this helps. Please let me know if you have any further questions.

Mant thanks @v-nikhilan-msft all good now.  But please encourag eyour colleagues to update the documentation soon - I spent half a day trying to get this to work.  Might be worth emphasising the issue with magic decorators too

Hi @mhaupt 

Glad that your query got resolved. Apologies for this. We will fix this soon. Please continue using Fabric Community for any help regarding your queries.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!