Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		
I have been struggling with this...
In my directory C:\ProgramData\Anaconda3, I see python.exe file
So in File -> Options and Setting-> Options -> Global -> Python scripting, so under
Detected Python home directories: I selected the above directory.
However, when I Get Data -> More -> Other -> Python script -> Connect
I type inside Python script textbox:
import os
then click OK button,
it shows Unable to connect:
Details: "ADO.NET: Python script error.
<pi>C:\PROGRAMDATA\ANACONDA3\lib\site-packages\numpy\__init__.py:143: 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\Tan16123\PythonScriptWrapper_14353f80-6ece-4e06-b5bf-789f3e5c83e9\PythonScriptWrapper.PY", line 2, in <module>
import os, pandas, matplotlib
File "C:\PROGRAMDATA\ANACONDA3\lib\site-packages\pandas\__init__.py", line 16, in <module>
raise ImportError(
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. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python3.9 from "C:\PROGRAMDATA\ANACONDA3\python.exe"
* The NumPy version is: "1.20.3"
and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.
Original error was: DLL load failed while importing _multiarray_umath: The specified module could not be found.
</pi>"
Solved! Go to Solution.
@Anonymous , In the video and description I have given problems and their solution, refer if those can help
How to make Python work with Power BI: https://youtu.be/5D0BkNsu5CM
 
					
				
		
Finally it works, thank you so much. Have been trying it for days.
@Anonymous , In the video and description I have given problems and their solution, refer if those can help
How to make Python work with Power BI: https://youtu.be/5D0BkNsu5CM
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 84 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |