all urllib.request is python3 call…so think that way.
maybe it supports only python3… no idea. but could be a possibility…but interesting fact my bokeh library is in python 2.7.
error in ipython output is as follows i guess this is the same error
ImportError Traceback (most recent call last)
<ipython-input-1-4b0a250cedd8> in <module>()
----> 1 from bokeh.plotting import *
2 from numpy import *
3 x = linspace(-2*pi, 2*pi, 100)
4 y = cos(x)
5 output_file("cos.html")
/usr/local/lib/python2.7/dist-packages/bokeh/__init__.py in <module>()
4 del get_versions
5
----> 6 from . import sampledata
7 from .serverconfig import Server, Cloud
8
/usr/local/lib/python2.7/dist-packages/bokeh/sampledata/__init__.py in <module>()
3 from os import mkdir
4 from os.path import exists, expanduser, isdir, join
----> 5 from six.moves.urllib.request import urlopen
6
7 def _bokeh_dir(create=False):
ImportError: No module named urllib.request