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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.