almond
almond copied to clipboard
Add support for rich display of Python objects in ScalaPy
Demo here
https://nbviewer.jupyter.org/github/kiendang/examples/blob/645332825d02aa244506b116867e38f7597beca6/notebooks/scalapy/scalapy_rich_display.ipynb
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
So the scripts/validate-examples.sh
script fails for the scalapy display example. On my local machine the script also fails but when I run the notebook normally it works fine. It fails here
https://github.com/shadaj/scalapy/blob/6e4f09dbed07ea5bf55f2cd086c7929276c08b8b/core/jvm/src/main/scala/me/shadaj/scalapy/interpreter/CPythonAPI.scala#L20
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
Is there anything with the script that makes JNA not work? Googling suggests it's because tmp dir mounted with noexec but I don't really know what that means/whether it's correct.
Superseded by #854.