Re: [PyInstaller] Bokeh v2.0.0 fails with PyInstaller

2020-03-11 Thread Dan Cutright
Sorry, to duplicate stuff... in the time it took this post to show up (since it was my first one), I got it working and posted my solution on PyInstaller GitHub. But I'm a new PyInstaller user and wonder if it there' a better way before doing a pull request. Maybe best to just use the GitHub

Re: [PyInstaller] Bokeh v2.0.0 fails with PyInstaller

2020-03-11 Thread Hartmut Goebel
Am 11.03.20 um 04:09 schrieb Dan Cutright: > Per Bryan over at > Bokeh: https://discourse.bokeh.org/t/bokeh-2-0-0-and-pyinstaller/4904/2 > "_sri.json is a new file that must be present in the package." So please update the hook and provide a pull-request. Thanks. -- Schönen Gruß Hartmut Goebel

Re: [PyInstaller] Bokeh v2.0.0 fails with PyInstaller

2020-03-11 Thread Hartmut Goebel
Am 11.03.20 um 14:40 schrieb Eric Fahlgren: > From dumping out some 'datas' values, it looks like it's simply a list > of tuples: [(src, dst), (src, dst), ...]  So, you should be able to > add something like this to the hook: This is implemented in the manual. -- Schönen Gruß Hartmut Goebel

Re: [PyInstaller] Bokeh v2.0.0 fails with PyInstaller

2020-03-11 Thread Eric Fahlgren
From dumping out some 'datas' values, it looks like it's simply a list of tuples: [(src, dst), (src, dst), ...] So, you should be able to add something like this to the hook: import os from PyInstaller.utils.hooks import get_module_file_attribute src =

[PyInstaller] Bokeh v2.0.0 fails with PyInstaller

2020-03-11 Thread Dan Cutright
I've had success with PyInstaller and Bokeh v1.4.0, but the subsequent version (v2.0.0) produces the following error: FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/w9/59qs933d4dq1j2214v_dz1srgn/T/_MEI8f9v8X/bokeh/_sri.json' Per Bryan over at Bokeh: