How to install/setup gecko webdriver on Fedora Linux + PyCharm

Possibly another library to investigate:

Edit: in fact @ilpomo as a suggestion perhaps you can install this library and see if it actually works on your system?

from selenium import webdriver
from webdriver_manager.firefox import GeckoDriverManager

driver = webdriver.Firefox(executable_path=GeckoDriverManager().install())

Then the driver can be passed to Bokeh’s PNG export functions.