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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jihool3670
Helper I
Helper I

"import notebookutils" via VSCode on remote Spark compute fails with ModuleNotFound

Hi,

 

The web-based notebook experience is great, but I'd really like to be able to leverage the VSCode integration instead. I've installed all the components and selected the synapse-spark-kernel. However, when I try run the following code (which succeeds in the web-based experience)

 

 

from notebookutils import mssparkutils

 

 

I receive a ModuleNotFound error. I was hoping that this documentation meant that I could interact with Fabric Spark compute through VSCode as if I was in the web-based experience but now I'm wondering if I misinterpreted. %pip list shows that notebookutils is installed in the remote compute (as expected) so I'm not sure what is going wrong.

 

Any ideas?

 

Thanks!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @jihool3670 ,
Thanks for using Fabric Community. 
Sorry for the inconvenience, currently "notebookutils" module in VS code is not supported for Synapse extension. This is on roadmap and will be available in future versions. 

Currently, we don't have any ETA when it will be available. 

We are reaching out to the internal team to get more information related to ETA and will get back to you as soon as we have an update.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @jihool3670 ,
Thanks for using Fabric Community. 
Sorry for the inconvenience, currently "notebookutils" module in VS code is not supported for Synapse extension. This is on roadmap and will be available in future versions. 

Currently, we don't have any ETA when it will be available. 

We are reaching out to the internal team to get more information related to ETA and will get back to you as soon as we have an update.

 

Anonymous
Not applicable

Hi @jihool3670 ,
We have'nt heard from you on the last response and checking if your query got resolved. Please let us know if you have any further queries. Glad to help.

Hi @Anonymous thanks for the info. Please do let us know if you here about an ETA.

In the meantime, do you know of any alternatives for file system operations, such as mkdirs, exists, and rm?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.