Open birdsarah opened 4 years ago
What we could do is to check which browser/driver appears earlier on $PATH
, and attempt to use drivers in that order. Conda prepends itself to $PATH
, so that would work with it. Currently we try to detect chromium-based browsers first and then firefox.
Is this a dupe of https://github.com/bokeh/bokeh/issues/10108?
Is this a dupe of #10108?
No. After uninstalling chromedriver everything worked fine. As @mattpap said it's because the codepath currently just tries chromium first rather than using $PATH
as precedence.
@mattpap any idea if this is still an issue? There's been quite a bit of refactoring of the webdriver code in the last few years IIRC.
any idea if this is still an issue? There's been quite a bit of refactoring of the webdriver code in the last few years IIRC.
That's a possibility, but needs to be verified.
I have followed the instructions here: https://docs.bokeh.org/en/latest/docs/user_guide/export.html?highlight=export
And conda installed firefox, geckodriver, selenium.
When trying to export_png, I get the following error:
When I run debug, the driver bokeh is trying to use is chromedriver.
I do also have chromedriver on my path, but not in my conda environment.
After uninstalling chromedriver from my global path, things worked as expected. Not exactly sure what a good solution is here. It's a conflict between my conda environment and the global...