Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
nickazgb
New Member

Issue with Python and IDE

I have been using powerbi and its python integration to create some custom visuals and it ahas all been working well until recently.

 

For some reason, now when I try to open the python script in an external IDE (VSCode) using the arrow icon on the python script editor, it opens vscode but instead of opening my script properly it opens four blank files in VScode (named -, PowerBI, Python, and PythonEditorWrapper.PY).

 

I am not sure why this is happening, as everything used to work fine and it would open the actual script in VSCode without issue.

 

It is not because powerbi fails to create temporary files in temporary storage, as I can see the proper dataframe and python scripts in the temporary storage data location and when I open thse files directly from the temp storage they open without issue.

 

Any ideas what could be causing this or how to resolve it?

4 REPLIES 4
nickazgb
New Member

Well, the issue seemingly resolved itself out of nowhere. This thread can be closed.

Anonymous
Not applicable

Hi,@nickazgbHello, @lbendlin,
thanks for your concern about this issue. 

Could you explain what that means :"This thread can be closed."

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.

Best Regards,

Carson Jian,

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

nickazgb
New Member

Nothing has changed on my end regarding python, powerBI, or VS code. I am using this for work so it is possible something else has been changed by IT in the background, but unless it is with the forementioned 3 items I do not see why any other changes would affect this. If there are any ideas to narrow it down I could further look into it but I have no idea where to start.

lbendlin
Super User
Super User

What has changed in your setup?  Did you upgrade Power BI Desktop? Did you upgrade Python? Did you upgrade VS Code?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.