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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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?

New Member

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

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.

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.

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

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.