Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I am trying to publish a report to the Power BI service which contains data generated from a Python script. It uses xlrd, pandas, datetime and numpy in the script. I am able to run my script perfectly on my Python IDE and on the Power BI desktop, but whenever I try to refresh the dataset in the Power BI service, I get the following error. It says it is trying to find the numpy file in my Anaconda library, which is not where it should be looking. It should be looking in the "Python38" library, where all the other modules have been downloaded to using the pip command line command.
Hi , @creis12
Please check whether or not you have multiple versions of Python installed.
And It is suggest to install python without anaconda environment.
If help refer to related articles and post
https://community.powerbi.com/t5/Issues/Microsoft-PowerBI-Scripting-Python-Exceptions/idi-p/851149
Best Regards,
Community Support Team _ Eason
Yes, I am trying to use "numpy" and it is included in that list.
Hi , @creis12
If the problem is still not solved ,it is suggest to open a ticket here for better advice.
https://powerbi.microsoft.com/en-us/support/
Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.