Replies: 3 comments 1 reply
-
Bokeh has no dependency on X, full stop To be clear: Bokeh generates HTML and JavaScript as output. Many people use Bokeh on headless systems to generate such output, e.g. in web servers. Of course, if you want to view that output, you will need to open it in a browser, which will require some kind of display. But I use Bokeh almost exclusively on OSX (no X there) and other users use it daily on Windows (same, no X-server). This has been the case since the project started, more than ten years ago. Bokeh can also generate PNG output via Selenium and a headless browser, many people also use this on headless systems as well. But you will need a compatible webdriver and browser installed, even on a headless system. @zbenmo Why are you asking? Is this just a general question or unprompted speculation? Did you encounter a specific situation that prompted this question? If so, you should always provide details and context, links, information, reproducible steps, actual complete error messages, etc to make the situation and question understandable.
I have no idea what this is, or if it is even related to Bokeh in any way. Would you care to explain what it is and provide some links to the project? |
Beta Was this translation helpful? Give feedback.
-
This 'bulk' utility is making use of bokeh. 'bokeh' was the main suspect. Cannot think of other "graphics" related "image generation" or so (or a dependency on a library that does, like matplotlib etc.). But okay. You don't believe it is related. Will keep searching for the issue. Thanks. Will continue to search. |
Beta Was this translation helpful? Give feedback.
-
Okay, not related to Bokeh at least I think. 'bulk' is trying to open a browser. This is the issue. Thanks for the suggestions and apologies. BR, Oren. |
Beta Was this translation helpful? Give feedback.
-
Is there a dependency on X-display? Must there be an X-display available when bokeh is used?
I hope the answer is no, but I suspect that somehow the dependency creeped in.
I am using 'bulk' (Vincent Warmerdam), on a Windows machine, WS2 (Ubuntu).
Without X server on my Windows machine, I cannot proceed.
I had similar situation with matplotlib. The solution there was with mpl.use('Agg') or so.
Beta Was this translation helpful? Give feedback.
All reactions