Add support for Windows
This looks great, but I see that Windows isn't currently supported. It would be lovely to have this extension available to us
For context, the reason Windows support is not straightforward is that we're using the Python multiprocessing module to launch the Dash server in the background. On Windows the multiprocessing module has some significant limitations (https://docs.python.org/2/library/multiprocessing.html#windows).
An alternative for Windows would be to use the threading module, but this has the limitation that it's not possible to forcibly terminate a thread when it's time to shut down the Dash server from the main process.
The best way forward is probably to use the threading module and work out a way to signal to the Dash server thread, from the main process, that it's time to shut down.
Any updates on this front?
I've been using Python Plotly (love it) but became jealous when I saw the awesome table support in Plotly Dash so wanted to try it out, but I'm in windows + Jupyterlab. Still battling with the windows threading limitation?
For context, the reason Windows support is not straightforward is that we're using the Python
multiprocessingmodule to launch the Dash server in the background. On Windows the multiprocessing module has some significant limitations (https://docs.python.org/2/library/multiprocessing.html#windows).An alternative for Windows would be to use the
threadingmodule, but this has the limitation that it's not possible to forcibly terminate a thread when it's time to shut down the Dash server from the main process.The best way forward is probably to use the
threadingmodule and work out a way to signal to the Dash server thread, from the main process, that it's time to shut down.
Hello all,
I don't think I can grasp the complexity of making Dash run on Jupyterlab on Windows. Thanks for your efforts. Do you have any potential updates or workarounds ?
Thanks in advance :)
@jonmmease Would an approach using signals, similar to what is described in this post, be acceptable?
Thanks for the suggestion @IvoMerchiers, that does look like a promising approach!
@jonmmease Alright, if nobody else is currently working on it, I'll see if I can tackle the issue. Are there any specific guidelines for contributing?
+1 for Windows support. In the meantime, jupyter-plotly-dash is a good alternative.
Also in the meantime, you can set up Jupyterlab in WSL and run jupyterlab-dash just fine.
Hi all! This project is being replaced by the more capable JupyterDash project which does support Windows. This repo is going to be archived shortly in favor of the new project.