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’.
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 <module>
from .util.version import __version__; __version__
File "C:\dev\code\bokeh\bokeh\util\version.py", line 36, in <module>
__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'.
It’s a webserver running under a restricted account without git on the path. Adding git to the path fixes the problem.
Thanks,
Dave
···
On Friday, 27 May 2016 02:17:21 UTC+10, Bryan Van de ven wrote:
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