Open Niko-La opened 1 year ago
This looks like a bug in altair. I suspect either pandas or altair dropped python 3.6 support so their APIs are drifting out of sync. Also note that Panel officially does not support Python 3.6 either so I'll close.
base) nikola@nikola:~/Downloads/gapminder$ panel serve --show gapminder.ipynb
2022-10-19 12:17:13,108 Starting Bokeh server version 2.4.3 (running on Tornado 6.1)
2022-10-19 12:17:13,108 User authentication hooks NOT provided (default user enabled)
2022-10-19 12:17:13,109 Bokeh app running at: http://localhost:5006/gapminder
2022-10-19 12:17:13,109 Starting Bokeh server with process id: 7282
2022-10-19 12:17:18,132 Error running application handler <bokeh.application.handlers.notebook.NotebookHandler object at 0x7f1c065e15e0>: name 'get_ipython' is not defined
File 'gapminder.ipynb', line 11, in <module>:
"cell_type": "markdown", Traceback (most recent call last):
File "/home/nikola/anaconda3/lib/python3.9/site-packages/bokeh/application/handlers/code_runner.py", line 231, in run
exec(self._code, module.__dict__)
File "/home/nikola/Downloads/gapminder/gapminder.ipynb", line 11, in <module>
"cell_type": "markdown",
NameError: name 'get_ipython' is not defined
2022-10-19 12:17:18,309 WebSocket connection opened
2022-10-19 12:17:18,310 ServerConnection created
2022-10-19 12:17:18,340 404 GET /favicon.ico (::1) 0.39ms
this is on python 3.9
was broken even when running
anaconda-pythob run
Thanks, really appreciate the detailed reports.
no problem @philippjfr
yup getting the same issue with anaconda-project run, which is supposed to be repoducible.
* anaconda-project.yml: Unknown field name 'maintainers'
2022-10-19 12:23:35,113 Starting Bokeh server version 1.1.0 (running on Tornado 5.1.1)
2022-10-19 12:23:35,114 Bokeh app running at: http://localhost:5006/gapminder
2022-10-19 12:23:35,114 Starting Bokeh server with process id: 11367
2022-10-19 12:23:41,632 Error running application handler <bokeh.application.handlers.notebook.NotebookHandler object at 0x7faee671c630>: name 'get_ipython' is not defined
File "gapminder.ipynb", line 11, in <module>:
"cell_type": "markdown", Traceback (most recent call last):
File "/home/nikola/Downloads/gapminder/envs/default/lib/python3.6/site-packages/bokeh/application/handlers/code_runner.py", line 179, in run
exec(self._code, module.__dict__)
File "/home/nikola/Downloads/gapminder/gapminder.ipynb", line 11, in <module>
"cell_type": "markdown",
NameError: name 'get_ipython' is not defined
2022-10-19 12:23:41,641 200 GET /gapminder (::1) 13.92ms
2022-10-19 12:23:41,713 101 GET /gapminder/ws?bokeh-protocol-version=1.0&bokeh-session-id=6tW6zXvYvLDwrJUG2QyrGJpiYUc8uETWk3wR2czfNO8l (::1) 0.48ms
2022-10-19 12:23:41,713 WebSocket connection opened
2022-10-19 12:23:41,713 ServerConnection created