jupyterlab-dash icon indicating copy to clipboard operation
jupyterlab-dash copied to clipboard

Issue: no module named queue

Open kangnade opened this issue 6 years ago • 1 comments

I am installing jupyterlab-dash on my subsystem Ubuntu in Windows 10. While running jupyterlab and import the module, I have the following error message: image It seems that Jupyter Lab loads python 2.7 which lacks the queue.py module. Is there anyway to solve this issue? Thanks!


I tried solve the issue by running: sudo pip install future python3 -m pip install ipykernel python3 -m ipykernel install --user python3 -m pip install dash

After these, by changing Jupyter Lab's kernel to Python 3, I had no problems importing the package. But when I run the testing codes, the viewer.show(app) doesn't generate any output.

kangnade avatar Feb 12 '19 09:02 kangnade

Hi @kangnade,

That's correct that the extension doesn't support Python 2 right now. Could you try installing into a fresh Python 3 environment following the instructions at https://github.com/plotly/jupyterlab-dash#installation? Thanks!

jonmmease avatar Mar 27 '19 10:03 jonmmease