Reputation: 85
I'm working on making a simple visz with bokeh but having a trouble with bokeh server. Here is my example code
# myapp.py
from bokeh.plotting import figure
from bokeh.io import curdoc
plot = figure()
plot.line(x = [1,2,3,4,5], y = [2,5,4,6,7])
curdoc().add_root(plot)
I'm using window so I command bokeh server --show myapp.py
but got this error.
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try `git clean -xdf` (removes all
files not under version control). Otherwise reinstall numpy.
Original error was: DLL load failed: The specified module could not be found.
Is there anything I missed to connect with bokeh server? Thanks in advance:)
Upvotes: 0
Views: 148
Reputation: 34568
That error has nothing to do with Bokeh directly. Your Numpy package installation is completely broken. You will need to uninstall Numpy, possibly deleting any Numpy related files out of your site packages by hand, and reinstall it as the error suggests.
Upvotes: 2