Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello good people,
I have requirement in my Fabric Notebook to read Excel file put in Lakehouse. And my Fabric now is in Trial Mode.
The requirement, is to use "msparkutils" and I start it with importing the feature, as per usual : "import mssparkutils"
But I'm getting this error:
ModuleNotFoundError Traceback (most recent call last) Cell In[8], line 1 ----> 1 import mssparkutils ModuleNotFoundError: No module named 'mssparkutils'
When "consult " with ChatGpt, it is saying that I need to create the notebook from Lakehouse, but I did create New notebook from my Lakehouse. and it is saying the Session supposed to be "PySpark (Fabric runtime)" while mine is "PySpark (Python)"
May I know what is the real problem ?
May I know what I need to do regarding this ?
Thanks,
Solved! Go to Solution.
Hi @VoltesDev
mssparkutlis has been officially renamed to NotebookUtils. Pls look on below snapshot
Read full article from here: NotebookUtils (former MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn
It helps you reolve your issue.
Thank you!!
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
Hi @VoltesDev ,
The issue you're facing is due to the notebook session type. The msparkutils module is only available when your notebook is running under the "PySpark (Fabric runtime)" session—not the standard "PySpark (Python)" session.
Switch the Session Type:
Ensure You're in a Lakehouse Context:
Trial Mode Limitation:
Let me know if you want help checking your environment or switching the session!
Hi @VoltesDev,
I wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.
If the community member's answer your query, please mark it as "Accept as Solution" and select "Yes" if it was helpful.
If you need any further assistance, feel free to reach out.
Please continue using Microsoft community forum.
Thank you,
Pavan.
Hi @VoltesDev,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please "Accept as Solution" and give a 'Kudos' so other members can easily find it.
Thank you,
Pavan.
Hi @VoltesDev,
Thank you for reaching out in Microsoft Community Forum.
Thank you @suparnababu8 for the helpful response.
As suggested by suparnababu8, I hope this information was helpful. Please let me know if you have any further questions or you'd like to discuss this further. If this answers your question, please "Accept as Solution" and give it a 'Kudos' so others can find it easily.
Please continue using Microsoft community forum.
Regards,
Pavan.
Hi @VoltesDev
mssparkutlis has been officially renamed to NotebookUtils. Pls look on below snapshot
Read full article from here: NotebookUtils (former MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn
It helps you reolve your issue.
Thank you!!
Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
User | Count |
---|---|
19 | |
9 | |
8 | |
5 | |
5 |
User | Count |
---|---|
56 | |
28 | |
17 | |
17 | |
16 |