hvplot is not working for pyinstaller. Invalid version: 'None'

199 Views Asked by At

I need bar diagram with different filter options that I want to create with python and make it available as an executable with pyinstaller. So I came across hvplot and it works, very well, but it doesn't run as an executable at all.

The problem is the import of hvplot.pandas which leads to the following error when executing the executable:

 File "packaging\version.py", line 197, in __init__.
packaging.version.InvalidVersion: Invalid version: 'None'
[15440] Failed to execute script 'fail' due to unhandled exception!

This can be reproduced with the following code:

import hvplot.pandas
from bokeh.sampledata.penguins import data as df

hvexplorer = hvplot.explorer(df)
hvexplorer.show()

I upgraded and re-installed packages without success.

0

There are 0 best solutions below