Hi,
I have got problem running bokeh example with django using windows 10
My configuration is
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
asgiref 3.2.10
bokeh 2.3.0
channels 2.4.0
daphne 2.5.0
Django 3.1.7
django-classy-tags 2.0.0
django-cms 3.8.0
django-debug-toolbar 3.2
django-floppyforms 1.9.0
django-formtools 2.2
django-matplotlib 0.1
django-sekizai 2.0.0
django-tables2 2.3.3
django-treebeard 4.3.1
djangocms-admin-style 2.0.2
panel 0.11.1
I cloned GitHub - bokeh/bokeh: Interactive Data Visualization in the browser, from Python and in windows cmd run :
manage.py runserver 0.0.0.0:8000
result is
Watching for file changes with StatReloader
Performing system checks...
WARNING:bokeh.server.django.routing:bokeh applications directory 'F:\Program Files\Python\lib\site-packages\examples\app' doesn't exist
System check identified no issues (0 silenced).
March 28, 2021 - 21:35:16
Django version 3.1.7, using settings 'django_embed.settings'
Starting ASGI/Channels version 2.4.0 development server at http://0.0.0.0:8000/
Quit the server with CTRL-BREAK.
Someting is weird with this warning
Now with first link http://127.0.0.1:8000/shape_viewer Nothing happened (I select google and change adress to http://127.0.0.1:8000/shape_viewer and google page stays and there is nothing in windows cmd)
Second link http://127.0.0.1:8000/sea_surface
in windows cmd
HTTP GET /sea_surface/ 200 [0.05, 127.0.0.1:7529]
HTTP GET /sea_surface/autoload.js?bokeh-autoload-element=1239&bokeh-app-path=/sea_surface&bokeh-absolute-url=http://127.0.0.1:8000/sea_surface 200 [0.04, 127.0.0.1:7530]
Not Found: /static/extensions/panel/css/alerts.css
Not Found: /static/extensions/panel/css/card.css
HTTP GET /static/extensions/panel/css/card.css 404 [0.05, 127.0.0.1:7529]
HTTP GET /static/extensions/panel/css/alerts.css 404 [0.05, 127.0.0.1:7530]
Not Found: /static/extensions/panel/css/loading.css
Not Found: /static/extensions/panel/css/json.css
Not Found: /static/extensions/panel/css/dataframe.css
Not Found: /static/extensions/panel/css/markdown.css
Not Found: /static/extensions/panel/css/widgets.css
HTTP GET /static/extensions/panel/css/widgets.css 404 [0.03, 127.0.0.1:7530]
HTTP GET /static/extensions/panel/css/markdown.css 404 [0.03, 127.0.0.1:7529]
HTTP GET /static/extensions/panel/css/dataframe.css 404 [0.05, 127.0.0.1:7532]
HTTP GET /static/extensions/panel/css/json.css 404 [0.05, 127.0.0.1:7534]
HTTP GET /static/extensions/panel/css/loading.css 404 [0.05, 127.0.0.1:7533]
Not Found: /static/extensions/panel/panel.min.js
HTTP GET /static/extensions/panel/panel.min.js 404 [0.02, 127.0.0.1:7532]
and in firefox browser source page is
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Embedding a Bokeh Apps In Django via autoload.js</title>
</head>
<body>
<div>
This Bokeh app below is served by a Django server (via autoload.js):
</div>
<script id="1160">
var xhr = new XMLHttpRequest()
xhr.responseType = 'blob';
xhr.open('GET', "http://127.0.0.1:8000/sea_surface/autoload.js?bokeh-autoload-element=1160&bokeh-app-path=/sea_surface&bokeh-absolute-url=http://127.0.0.1:8000/sea_surface", true);
xhr.onload = function (event) {
var script = document.createElement('script'),
src = URL.createObjectURL(event.target.response);
script.src = src;
document.body.appendChild(script);
};
xhr.send();
</script>
</body>
</html>
has anyone tried django bokeh on windows 10?