abhishekkrthakur / colabcode

Run VSCode (codeserver) on Google Colab or Kaggle Notebooks
MIT License
2.07k stars 276 forks source link

colabcode JupyterLab doesn't display JupyterDash.run_server() #79

Open rkzw opened 3 years ago

rkzw commented 3 years ago

I opened colabcode JupyterLab with

import colabcode as cc
cc.ColabCode(port = 10000,  lab = True , authtoken=authtoken, mount_drive=True)

and run the code below.

from jupyter_dash import JupyterDash
import dash_html_components as html
app = JupyterDash(__name__)
app.layout = html.Div('Minimal')
app.run_server(mode='external')

It does show the sentence Dash app running on: followed by nothing without any error.

I run the same code on the JupyterLab with a local venv and it works. Is there any way to solve this?