<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Module Not Found Error: No module named 'pycaret.nlp' in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Module-Not-Found-Error-No-module-named-pycaret-nlp/m-p/3334398#M53703</link>
    <description>&lt;P&gt;I'm trying to use the LDA topic modeling algorithm inside Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My python environement has the version&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Python 3.8.17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to run a Python script inside Power BI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt; pycaret.nlp &lt;SPAN class=""&gt;import&lt;/SPAN&gt; *
dataset = get_topics(dataset, text=&lt;SPAN class=""&gt;'cons'&lt;/SPAN&gt;, model=&lt;SPAN class=""&gt;'lda'&lt;/SPAN&gt;, num_topics=&lt;SPAN class=""&gt;6&lt;/SPAN&gt;,learning_decay=&lt;SPAN class=""&gt;0.7&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;This error I get:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="userpowerbiii12_3-1689598298198.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/942658iCFE0FF19C25A61D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="userpowerbiii12_3-1689598298198.png" alt="userpowerbiii12_3-1689598298198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using currently&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Pycaret version 3.0.4&lt;/STRONG&gt;&lt;SPAN&gt;. I tried to downgrade the version of&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Pycaret to 2.3.10&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;but other packages will be affected and somehow it starts to generate version confusion for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DataSource.Error: ADO.NET: Python script error.
&amp;lt;pi&amp;gt;KeyError: &lt;SPAN class=""&gt;'layout'&lt;/SPAN&gt;

During handling of the above exception, another exception occurred:

NotImplementedError: Cannot 
&amp;lt;/pi&amp;gt;
Details:
    DataSourceKind=Python
    DataSourcePath=Python
    Message=Python script error.
&amp;lt;pi&amp;gt;KeyError: &lt;SPAN class=""&gt;'layout'&lt;/SPAN&gt;

During handling of the above exception, another exception occurred:

NotImplementedError: Cannot 
&amp;lt;/pi&amp;gt;
    ErrorCode=-&lt;SPAN class=""&gt;2147467259&lt;/SPAN&gt;
    ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException&lt;/PRE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Note that I followed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://ruslanmv.com/blog/NLP-with-Pycaret-and-Power-BI" target="_blank" rel="nofollow noopener noreferrer"&gt;this article&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(which is 2 years old) that explains the steps on how to apply this on Power BI.&lt;/P&gt;&lt;P&gt;How can I resolve my issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2023 12:53:56 GMT</pubDate>
    <dc:creator>userpowerbiii12</dc:creator>
    <dc:date>2023-07-17T12:53:56Z</dc:date>
    <item>
      <title>Module Not Found Error: No module named 'pycaret.nlp'</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Module-Not-Found-Error-No-module-named-pycaret-nlp/m-p/3334398#M53703</link>
      <description>&lt;P&gt;I'm trying to use the LDA topic modeling algorithm inside Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My python environement has the version&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Python 3.8.17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I'm trying to run a Python script inside Power BI&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;from&lt;/SPAN&gt; pycaret.nlp &lt;SPAN class=""&gt;import&lt;/SPAN&gt; *
dataset = get_topics(dataset, text=&lt;SPAN class=""&gt;'cons'&lt;/SPAN&gt;, model=&lt;SPAN class=""&gt;'lda'&lt;/SPAN&gt;, num_topics=&lt;SPAN class=""&gt;6&lt;/SPAN&gt;,learning_decay=&lt;SPAN class=""&gt;0.7&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;This error I get:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="userpowerbiii12_3-1689598298198.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/942658iCFE0FF19C25A61D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="userpowerbiii12_3-1689598298198.png" alt="userpowerbiii12_3-1689598298198.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using currently&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Pycaret version 3.0.4&lt;/STRONG&gt;&lt;SPAN&gt;. I tried to downgrade the version of&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Pycaret to 2.3.10&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;but other packages will be affected and somehow it starts to generate version confusion for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DataSource.Error: ADO.NET: Python script error.
&amp;lt;pi&amp;gt;KeyError: &lt;SPAN class=""&gt;'layout'&lt;/SPAN&gt;

During handling of the above exception, another exception occurred:

NotImplementedError: Cannot 
&amp;lt;/pi&amp;gt;
Details:
    DataSourceKind=Python
    DataSourcePath=Python
    Message=Python script error.
&amp;lt;pi&amp;gt;KeyError: &lt;SPAN class=""&gt;'layout'&lt;/SPAN&gt;

During handling of the above exception, another exception occurred:

NotImplementedError: Cannot 
&amp;lt;/pi&amp;gt;
    ErrorCode=-&lt;SPAN class=""&gt;2147467259&lt;/SPAN&gt;
    ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException&lt;/PRE&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Note that I followed&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://ruslanmv.com/blog/NLP-with-Pycaret-and-Power-BI" target="_blank" rel="nofollow noopener noreferrer"&gt;this article&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(which is 2 years old) that explains the steps on how to apply this on Power BI.&lt;/P&gt;&lt;P&gt;How can I resolve my issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 12:53:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Module-Not-Found-Error-No-module-named-pycaret-nlp/m-p/3334398#M53703</guid>
      <dc:creator>userpowerbiii12</dc:creator>
      <dc:date>2023-07-17T12:53:56Z</dc:date>
    </item>
  </channel>
</rss>

