Forum Discussion
How to Install & configure Python for the On-premises data gateway?
- 3 years ago
Hi , lionx
Are you trying to use an enterprise gateway? That won't work. Python and R scripts require a personal gateway. That personal gateway will automatically share the libraries that you have installed on that PC.
For more information, you can refer to :
Power BI Gateway | Microsoft Power BI
Use personal gateways in Power BI - Power BI | Microsoft Learn
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
MS Engineers have identified the root cause and a fix was deployed on 11-Dec-2022. Now I can schedule refresh data but I confront with another error when I try to refresh the dataset as follows:
Hi , lionx
According to the error code : Can't connect to HTTPS URL because the SSL module is not available.
As searched , you can refer to these document to try to , i hope they may be helpful:
Can't connect to HTTPS URL because the SSL module is not available · Issue #8273 · conda/conda · GitHub
Thank you for your time and sharing, and thank you for your support and understanding of PowerBI!
Best Regards,
Aniya Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- lionx3 years agoHelper I
Thank you very much for your assistance.
I worked around and it works for me now.
- Anonymous2 years agoNot applicable
Hi lionx ,
I am also facing the same issue
I am running a Python script for some transformations in power query, it's refreshing on the desktop, but showing the same issue as you got on service.Can you please help me?
- lionx3 years agoHelper I
It is working for a while and then it comes up with another issue as below. The mkl-service package was installed in the Python3.7 environment.
ADO.NET: Python script error. C:\Users\HungNguyen\.conda\envs\py37\lib\site-packages\numpy\__init__.py:148: 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 <module> import os, pandas, matplotlib File "C:\Users\HungNguyen\.conda\envs\py37\lib\site-packages\pandas\__init__.py", line 17, in <module> "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.