Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Description:
I’m trying to configure Python scripting in Power BI Desktop (latest version) via
File → Options and settings → Options → Python scripting
I provide the correct path to my Python installation
However, after selecting this directory and clicking "OK", nothing happens — the dialog doesn’t close, and the settings don’t save. There’s no error message or crash, it simply doesn’t respond.
Running Power BI Desktop as Administrator
Verifying the path points to the folder (not the python.exe file)
Reinstalling Python (version 3.10.11 from python.org)
Ensuring all Python dependencies like pandas and matplotlib are installed
Resetting Power BI settings by deleting: %LOCALAPPDATA%\Microsoft\Power BI Desktop\User.zip
Note: I have reinstalled my Python and Power BI Desktop. Not only python scripting even I change any of the options like enabling the maps and try clicking 'OK' it is not responding like the same window will be visible.
Hi @Magneto,
Thank you for reaching out to the Microsoft fabric community forum.
I hope the information provided by @burakkaragoz, @Ritaf1983 assists you in resolving the issue. If you have any additional questions or concerns, please do not hesitate to contact us. We are here to support you and will be happy to help with any further assistance you may need.
Regards,
Harshitha.
Hi @Magneto,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.
Regards,
Harshitha.
Hi @Magneto,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please Accept it as a solution so that other community members can find it easily.
Regards,
Harshitha.
Hi @Magneto ,
This is usually caused by a UI or registry issue. Try these:
Delete user cache
%APPDATA%\Microsoft\Power BI Desktop Store App
Switch to MSI version
Uninstall the Store version and install from here
Check display scaling
Set to 100% (not 125% or 150%) and restart Power BI
Rename registry key
HKEY_CURRENT_USER\Software\Microsoft\Microsoft Power BI Desktop
(This resets all settings)
Let me know if it works.
If my response resolved your query, kindly mark it as the Accepted Solution to assist others. Additionally, I’d be grateful for a Kudos if you found it helpful.
Translation and formatting supported by AI assistance.
Hi @Magneto
It doesn’t sound like the problem is with Python itself. If the 'OK' button doesn’t respond at all in the Options window – not just for Python scripting but for other settings too – the issue is probably with Power BI Desktop or your local profile.
Here’s what I’d try in this case:
Close Power BI completely. Make sure no background process like PBIDesktop.exe or Mashup Evaluation Container is still running in Task Manager.
Delete or rename these folders (after backing them up if needed):
%LOCALAPPDATA%\Microsoft\Power BI Desktop\
%APPDATA%\Microsoft\Power BI Desktop\
Make sure you don’t have both the Store version and the Installer version of Power BI installed. If you do – uninstall both and reinstall only the installer version from the official website.
Try disabling your antivirus temporarily or checking if Windows Defender is blocking anything.
Check that your user has full write permissions to the AppData folders.
Try running Power BI with reset settings by launching it like this:
"C:\Program Files\Microsoft Power BI Desktop\bin\PBIDesktop.exe" -resetUserSettings
If none of that works, test on a different Windows user profile or another machine. If it works there, your profile is probably corrupted.
If you’ve done all of this and the problem still happens, I’d open a support ticket with Microsoft and include all the steps you’ve already tried:
https://support.fabric.microsoft.com/
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |