Error when trying to run bokeh-server

Scott Quinton

I have recently installed the latest version of bokeh and am trying to run a server from the terminal in Ubuntu 14.04. I am getting the following error:

user@host:~$ bokeh-server
Traceback (most recent call last):
 File "/usr/local/bin/bokeh-server", line 3, in <module>
 import bokeh.server
 File "/usr/local/lib/python2.7/dist-packages/bokeh/server/__init__.py", line 11, in <module>
 from bokeh.server.utils.reload import robust_reloader
 File "/usr/local/lib/python2.7/dist-packages/bokeh/server/utils/reload.py", line 8, in <module>
 from werkzeug.serving import _iter_module_files
 ImportError: cannot import name _iter_module_files

Any ideas what may be causing this?

user1834164

It seems bokeh server is not compatible with the new version of "werkzeug".

To fix this replace the line

from werkzeug.serving import _iter_module_files

by

from werkzeug._reloader import _iter_module_files

in your "reload.py" (in your case located in "/usr/local/lib/python2.7/dist-packages/bokeh/server/utils/").

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Error when trying to run carthage

From Dev

Whoops, looks like something went wrong. error in Laravel 5 when trying to run on built in server

From Dev

Error when trying to use Xorg: Only console users are allowed to run the X server?

From Dev

when trying to run struts2 with eclipse juno server,getting HTTP Status 404 error

From Dev

Session 'app': error when trying to run app

From Dev

Error when trying to run a simple mojolicious program

From Dev

Confusing error when trying to run Python script

From Dev

Error when trying to run Create Extension postgis

From Dev

showing syntax error when trying to run in pycharm

From Dev

Android Studio error when trying to run app

From Dev

Oozie error when trying to run a workflow in Hue

From Dev

Compile error when trying to run make

From Dev

Compiler error when trying to run the below program

From Dev

Confusing error when trying to run Python script

From Dev

Error when trying to run multiple mysqli queries

From Dev

Error when trying to run windows steam

From Dev

Error when trying to run an executable on a Linux system

From Dev

Syntax error when trying to run an IF EXISTS query

From Dev

Error when trying to connect to Team Foundation Server

From Dev

Error when trying to open() sql server

From Dev

Error when trying to install mysql server

From Dev

Internal Server Error when trying to check url

From Dev

Error when trying to update npm on live server?

From Dev

SQL Server error when trying to connect

From Dev

Error when trying to SSH into server using a WSL

From Dev

Value Error when trying to use Bokeh Widget Checkbox group with several lines and their attibute "visible"

From Dev

Access denied when trying to run stored procedure on MS SQL Server

From Dev

Access denied when trying to run stored procedure on MS SQL Server

From Dev

trying to run hazelcast server

Related Related

  1. 1

    Error when trying to run carthage

  2. 2

    Whoops, looks like something went wrong. error in Laravel 5 when trying to run on built in server

  3. 3

    Error when trying to use Xorg: Only console users are allowed to run the X server?

  4. 4

    when trying to run struts2 with eclipse juno server,getting HTTP Status 404 error

  5. 5

    Session 'app': error when trying to run app

  6. 6

    Error when trying to run a simple mojolicious program

  7. 7

    Confusing error when trying to run Python script

  8. 8

    Error when trying to run Create Extension postgis

  9. 9

    showing syntax error when trying to run in pycharm

  10. 10

    Android Studio error when trying to run app

  11. 11

    Oozie error when trying to run a workflow in Hue

  12. 12

    Compile error when trying to run make

  13. 13

    Compiler error when trying to run the below program

  14. 14

    Confusing error when trying to run Python script

  15. 15

    Error when trying to run multiple mysqli queries

  16. 16

    Error when trying to run windows steam

  17. 17

    Error when trying to run an executable on a Linux system

  18. 18

    Syntax error when trying to run an IF EXISTS query

  19. 19

    Error when trying to connect to Team Foundation Server

  20. 20

    Error when trying to open() sql server

  21. 21

    Error when trying to install mysql server

  22. 22

    Internal Server Error when trying to check url

  23. 23

    Error when trying to update npm on live server?

  24. 24

    SQL Server error when trying to connect

  25. 25

    Error when trying to SSH into server using a WSL

  26. 26

    Value Error when trying to use Bokeh Widget Checkbox group with several lines and their attibute "visible"

  27. 27

    Access denied when trying to run stored procedure on MS SQL Server

  28. 28

    Access denied when trying to run stored procedure on MS SQL Server

  29. 29

    trying to run hazelcast server

HotTag

Archive