-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pants jupyter plugin fails to load pex file, and error message is unhelpful #37
Comments
@horuswoo can you paste the error you see from 0.0.3? It has to be slightly different. In particular the |
Also @horuswoo can you give more context on the error above and the error you'll report when you switch back to 0.0.3?:
|
Error on 0.0.3:
|
|
Thanks for the extra info @horuswoo. There are two problems to solve here. I'd like to start with solving roll back to 0.0.3. From your 0.0.3 logs, you have In the 0.0.3 session, I'm willing to bet that the following shows 0.0.4:
Perhaps you need to say
|
Ok, after alot of helpful information from @horuswoo and their colleague off line, it turns out this issue was not to do with the pants-jupyter-plugin or its recent upgrade. It was due to a PEX file built on Ubuntu 20.04 attempting to be loaded on Ubuntu 16.04. The PEX file had manylinux_2_17 wheels but Ubuntu 16.04 only supports up to manylinux2014. I'm going to close this issue as answered but open another issue to see if more information can be presented in the jupyter notebook on failure. That information is missing in the error output above but was present when running the failing Pex command manually, and it was invaluable. |
Started seeing this error intermittently since yesterday (tried using the 0.0.3 version and still see the same error):
running this line
%pex_load tmp/ml_training_env.pex
gives:The text was updated successfully, but these errors were encountered: