<@U9HFRB8DA> try `PEX_FORCE_LOCAL=1 ./dist/noteboo...
# general
e
@damp-evening-18623 try
PEX_FORCE_LOCAL=1 ./dist/notebook-test
and report back.
d
Same issue.
e
K - no quick answer for you then from me
d
I'm not entirely sure what that force local was supposed to do -- can you explain?
e
It forces the generated binary, which is a pex (https://github.com/pantsbuild/pex), to unzip itself to disk before executing itself. This solves problems with some libraries / apps that do not expect to be running from within a zip.
If that would have worked, the option can be encoded in the BUILD file with zip_safe=False
d
Ah ok, thanks. I'll investigate further
Just to followup, I fixed this by using https://github.com/minrk/pexnb which fixes a known issue with jupyter notebooks & PEX files