I had installed tensorflow using slicer.util.pip_install(“tensorflow”). And i am using a Linux machine.
I tried using the pip_install command but the same issue is there where I still have to manually import tensorflow in the python interpreter rather than it automatically being done in *.py file