Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi All,
I'm using fabric notebook and import word2number method from python.
and I'm getting this error
I'm also install word2number library in my command prompt also. But, this error showing again and again.
How to resolve this? Please help me.
Thanks in advance.
Solved! Go to Solution.
Hi @Prakash1050 ,
It seems like the library isn't installed in the environment that your notebook is running in, despite you having installed it via the command prompt on your local machine.
You can do this by running the following command in a cell at the beginning of your notebook:
%pip install word2number
Please note, after running this command, it might be necessary to restart your notebook's kernel for the changes to take effect.
For more details, please refer: Tutorial: Create, evaluate, and score a text classification model - Microsoft Fabric | Microsoft Lea...
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Prakash1050 ,
It seems like the library isn't installed in the environment that your notebook is running in, despite you having installed it via the command prompt on your local machine.
You can do this by running the following command in a cell at the beginning of your notebook:
%pip install word2number
Please note, after running this command, it might be necessary to restart your notebook's kernel for the changes to take effect.
For more details, please refer: Tutorial: Create, evaluate, and score a text classification model - Microsoft Fabric | Microsoft Lea...
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.