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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

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

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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