Unable to uninstall tensorflow

Hi I did pip3 uninstall tensorflow-gpu and pip3 uninstall tensorflow, my console is showing it is successfully uninstalled but tensorflow is still present in my lamda server, I checked by importing tensorflow. Could you please help me how to uninstall completely.

What’s your goal in trying to uninstall the TensorFlow package in Lambda Stack?

I want to uninstall as well and reinstall because importing tensorboardX causes a segmentation fault and the solutions I have found so far have to do with the tensorflow installation, I am assuming the fact we cannot uninstall means it is located elsewhere and maybe tensorboardX cannot find it?

Lambda stack installs the packages with apt. You can uninstall with sudo apt autoremove python-tensorflow