Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

Error while running script

Hi, 

 

I was trying to run this text mining script (https://towardsdatascience.com/topic-modeling-in-power-bi-using-pycaret-54422b4e36d6). I tried installing matplotlib, numpy, pandas (via pip and conda) through the Anaconda prompt and each time I seem to get a different error based on how I install them. The current error I have is below:

 

DataSource.Error: ADO.NET: Python script error.
<pi>C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\numpy\__init__.py:138: 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 "C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\numpy\core\__init__.py", line 22, in <module>
from . import multiarray
File "C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\numpy\core\multiarray.py", line 12, in <module>
from . import overrides
File "C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\numpy\core\overrides.py", line 7, in <module>
from numpy.core._multiarray_umath import (
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "PythonScriptWrapper.PY", line 2, in <module>
import os, pandas, matplotlib
File "C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\matplotlib\__init__.py", line 107, in <module>
from . import cbook, rcsetup
File "C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\matplotlib\cbook\__init__.py", line 28, in <module>
import numpy as np
File "C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\numpy\__init__.py", line 140, in <module>
from . import core
File "C:\Users\dlin\Anaconda3\envs\powerbi\lib\site-packages\numpy\core\__init__.py", line 48, in <module>
raise ImportError(msg)
ImportError:

5 Replies