Forum Discussion
"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!
- Anonymous2 years ago
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.
3 Replies
- AnonymousNot 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.
- AnonymousNot 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.- jihool3670
Helper I
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?