☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Permission Denied error when invoking show()

Community Support
qqgg231
qqgg231

Ok, thank you, I understand it now.

When I set output_file I saw no error.

Also when I run vscode as admin, I saw no error.

I checked that bokeh tried to save its output html file exactly to C:\Python39\Lib\runpy.html and I think it is a bug. I believe bokeh shouldn’t try to save any files to Python installation directory.

⌁   Link to post
Bryan
Bryan

@qqgg231 it’s not a bug. If you don’t specify anything, then Bokeh attempts to save in the same place as the script. This works great with typical command line usage. Evidently your IDE is doing some wonky things behind the scenes that interfere with that default behavior, but there is nothing we can do about that, and it’s not a reason to remove a useful feature for the majority of users.

⌁   Link to post

End of archived discussion · Replies are disabled