Dave,
that’s weird, can you report the value of
In [3]: from bokeh._version import get_versions
In [4]: get_versions()
Out[4]:
{'full': 'fa5151cf9e47adceac83942e0e32bccb4dcb35a2-dirty',
'version': '0.12.0dev9-307-gfa5151c-dirty'}
Also what platform, etc? Is “git” on your path? dev environments try to use git (via versioneer) to report a “commit” version
Bryan
On May 26, 2016, at 2:25 AM, nov...@gmail.com wrote:
I just installed bokeh from source but I’m getting the below error from my webserver:
import bokeh.plotting as plt
File “C:\dev\code\bokeh\bokeh_init_.py”, line 16, in
from .util.version import __version__; __version__
File “C:\dev\code\bokeh\bokeh\util\version.py”, line 36, in
__base_version__ = base_version()
File “C:\dev\code\bokeh\bokeh\util\version.py”, line 34, in base_version
return VERSION_PAT.search(__version__).group(1)
AttributeError: ‘NoneType’ object has no attribute ‘group’
If I look at the error in the debugger I see that version is ‘unknown’.
Curiously, if I import in ipython it works fine:
In [1]: import bokeh
In [2]: import bokeh.plotting as plt
In [3]: bokeh.version
Out[3]: ‘0.12.0dev9-43-g560acd8’
I fixed it by just hard-coding version
Thanks,
Dave
–
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2e4db4c2-bc81-444e-a16a-4e8eaf9540a8%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.