<p dir="auto">I am trying to run a python script from power BI, I have installed all the modules and dependencies but still get this error. I have uninstall and reinstall numpy but still not working. I installed python 3.8 and I am using windows 10. I do not think I have multiple python versions of python installed</p>
<h3 dir="auto">Reproducing code example:</h3>

<p dir="auto">This is the code I ran<br>
from pycaret.clustering import *<br>
dataset = get_clusters(data = dataset)</p>

<h3 dir="auto">Error message:</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="DataSource.Error: ADO.NET: Python script error.
C:\Users\Wale\Anaconda3\envs\pyhon=3.8\lib\site-packages\numpy\__init__.py:140: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File &quot;PythonScriptWrapper.PY&quot;, line 2, in &lt;module&gt;
    import os, pandas, matplotlib
  File &quot;C:\Users\Wale\Anaconda3\envs\pyhon=3.8\lib\site-packages\pandas\__init__.py&quot;, line 16, in &lt;module&gt;
    raise ImportError(
ImportError: Unable to import required dependencies:
numpy: 

Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
  1. Check that you expected to use Python3.8 from &quot;C:\Use...
    ErrorCode=-2147467259
    ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException"><pre class="notranslate"><code class="notranslate">DataSource.Error: ADO.NET: Python script error.
C:\Users\Wale\Anaconda3\envs\pyhon=3.8\lib\site-packages\numpy\__init__.py:140: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File "PythonScriptWrapper.PY", line 2, in &lt;module&gt;
    import os, pandas, matplotlib
  File "C:\Users\Wale\Anaconda3\envs\pyhon=3.8\lib\site-packages\pandas\__init__.py", line 16, in &lt;module&gt;
    raise ImportError(
ImportError: Unable to import required dependencies:
numpy: 

Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
  1. Check that you expected to use Python3.8 from "C:\Use...
    ErrorCode=-2147467259
    ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException
</code></pre></div>


<h3 dir="auto">Numpy/Python version information:</h3>

<p dir="auto">python 3.8 and  numpy version "1.18.1"</p>
<ul dir="auto">
<li>
<p dir="auto">how you installed Python - installed from this link <a href="https://www.python.org/ftp/python/3.8.3/python-3.8.3-amd64.exe" rel="nofollow">https://www.python.org/ftp/python/3.8.3/python-3.8.3-amd64.exe</a></p>
</li>
<li>
<p dir="auto">how you installed numpy - opened a notebook and wrote:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy 
numpy.__version__"><pre class="notranslate"><code class="notranslate">import numpy 
numpy.__version__
</code></pre></div>
<p dir="auto">received the version back that I have installed ('1.18.1')</p>
</li>
<li>
<p dir="auto">your operating system<br>
Windows 10 Enterprise</p>
</li>
<li>
<p dir="auto">whether or not you have multiple versions of Python installed<br>
I did yesterday.  I uninstalled all of them yesterday and reinstalled just one version today.  I now have the following:</p>
</li>
</ul>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/66383468/83672343-18f2b400-a5a4-11ea-9915-9ba9a033fe65.png"><img src="https://user-images.githubusercontent.com/66383468/83672343-18f2b400-a5a4-11ea-9915-9ba9a033fe65.png" alt="image" style="max-width: 100%;"></a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" - if you built from source, your compiler versions and ideally a build log.  I did not build the script, it was sent to me by someone else.  I can run it successfully in jupyter notebook but get this error when running it in Power BI"><pre class="notranslate"><code class="notranslate"> - if you built from source, your compiler versions and ideally a build log.  I did not build the script, it was sent to me by someone else.  I can run it successfully in jupyter notebook but get this error when running it in Power BI
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Details: &quot;ADO.NET: Python script error.
C:\USERS\AAA0QGV\ANACONDA3\lib\site-packages\numpy\__init__.py:140: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File &quot;PythonScriptWrapper.PY&quot;, line 2, in &lt;module&gt;
    import os, pandas, matplotlib
  File &quot;C:\USERS\AAA0QGV\ANACONDA3\lib\site-packages\pandas\__init__.py&quot;, line 17, in &lt;module&gt;
    &quot;Unable to import required dependencies:\n&quot; + &quot;\n&quot;.join(missing_dependencies)
ImportError: Unable to import required dependencies:
numpy: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
  1. Check that you expected to use Python3.7 from &quot;C:\USERS\AAA0QGV\ANACONDA3\python.exe&quot;,
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy version &quot;1.18.1&quot; you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log

- If you're working with a numpy git repository, try `git clean -xdf`
  (removes all files not under version control) and rebuild numpy.

Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.

Original error was: DLL load failed: The specified module could not be found."><pre class="notranslate"><code class="notranslate">Details: "ADO.NET: Python script error.
C:\USERS\AAA0QGV\ANACONDA3\lib\site-packages\numpy\__init__.py:140: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
  from . import _distributor_init
Traceback (most recent call last):
  File "PythonScriptWrapper.PY", line 2, in &lt;module&gt;
    import os, pandas, matplotlib
  File "C:\USERS\AAA0QGV\ANACONDA3\lib\site-packages\pandas\__init__.py", line 17, in &lt;module&gt;
    "Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
ImportError: Unable to import required dependencies:
numpy: 

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy c-extensions failed.
- Try uninstalling and reinstalling numpy.
- If you have already done that, then:
  1. Check that you expected to use Python3.7 from "C:\USERS\AAA0QGV\ANACONDA3\python.exe",
     and that you have no directories in your PATH or PYTHONPATH that can
     interfere with the Python and numpy version "1.18.1" you're trying to use.
  2. If (1) looks fine, you can open a new issue at
     https://github.com/numpy/numpy/issues.  Please include details on:
     - how you installed Python
     - how you installed numpy
     - your operating system
     - whether or not you have multiple versions of Python installed
     - if you built from source, your compiler versions and ideally a build log

- If you're working with a numpy git repository, try `git clean -xdf`
  (removes all files not under version control) and rebuild numpy.

Note: this error has many possible causes, so please don't comment on
an existing issue about this - open a new one instead.

Original error was: DLL load failed: The specified module could not be found.
</code></pre></div>