Reference https://blog.csdn.net/qq_40614981/article/details/83035783
Own practical operation
Tensorflow due to the different versions, some of the calling function may also have transformed, this time may be needed to view the tensorflow version, you can enter the following query command in Terminal:
python
import tensorflow as tf
tf.__version__
Queries tensorflow installation path:
tf.__path__
Query results are as follows