Reply
SergioTorrinha
Resolver II
Resolver II
Partially syndicated - Outbound

PBI desktop and Python integration problem

Hi all

 

I have a PBI desktop file which was developed based in several python scripts: some for visuals and others for data transformation.

This file was developed in machine 1 and now i'm trying to use that same file in machine 2.

Both machines have latest PBI desktop version and both machines have Python installed. In machine 2 i folowed Microsoft instructions for Pythn installation here.

However, when I open PBI desktop file in machine 2 i get the following error:

pbi desktop error.PNG

 

I am pretty sure that Python is installed in machine 2, please check image below for a validation:

python install check.PNG

 

So, now what should I do in order to work with this PBI file in machine 2?

 

5 REPLIES 5
amitchandak
Super User
Super User

Syndicated - Outbound

@SergioTorrinha , pbi file has python path setting, can you check is that correct on another machine.

Check the python path in the second machine is it same as the first machine

https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-python-scripts

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Syndicated - Outbound

@amitchandak 
Ho yes the path is correct in PBI desktop file in machine 2.
Sorry i forgot to mention that in my original post

 

Python path in PBI.PNG

Syndicated - Outbound

Hi, @SergioTorrinha 

Have you tried to   developed  a file in machine 2 and then use that same file in machine 1  to check if the same problem occurs?

Best Regards,
Community Support Team _ Eason

 

Syndicated - Outbound

Hi,
@v-easonf-msftdeveloping python in machine 2 is no option here, as the owner of machine 2 doesen't know how to work with python. So the idea here is to develop in machine 1 and then deploy in machine 2 (yes i know machine 2 needs to have Python installed acording to microsoft recomendations).

 

In any case, I think Comodo firewall in machine 1 was blocking a Python service from running properly. I wasn't able to test if this solves the issue or not but i found a couple posts in Comodo forum that lead to think that Python was getting blocked by it.

 

Thanks 🙂

Syndicated - Outbound

Hi , @SergioTorrinha 

Have  you tried to  create a support ticket to investigate this issue?Maybe  they will have better advice.

https://powerbi.microsoft.com/en-us/support/ 

 

Once  you get any workaround, please kindly share it here for reference so that others having similar concern can find the answer more easily. Thanks!

 

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.

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)
Users online (179)