I build Slicer from trunk and pip_install(“tensorflow”) from python interactor within Slicer (Ctrl + 3).
Seems to be successful. Then I “import tensorflow”,but this crashes Slicer without detailed error message.
I tried this:
./Slicer --launch …/python-install/bin/python
Then in this python interpreter, I import tensorflow
And things are fine (no crashing)
But within Slicer it crashes.
Could I have any hint on the direction I should look into?
You could also generate a core dump and than open it with ddd (or gdb). While there are no debug info available within Release build, it should still provide some useful information.
In trying the python CLI, how could i assign the python environment I want Slicer to run my pythonCLI with? (Say my python exe is in /opt/anacondaGPU/bin/python)