How to find which version of TensorFlow is installed in my system?

前端 未结 16 2049
轮回少年
轮回少年 2020-11-30 17:00

I need to find which version of TensorFlow I have installed. I\'m using Ubuntu 16.04 Long Term Support.

16条回答
  •  半阙折子戏
    2020-11-30 17:56

    For knowing any version of the python library then if your library is installed using the pip then use the following command.

    pip show tensorflow
    

    The Output of the above command will be shown below:-

    Name: tensorflow
    Version: 2.3.0
    Summary: TensorFlow is an open source machine learning framework for everyone.
    Home-page: https://www.tensorflow.org/
    Author: Google Inc.
    Author-email: packages@tensorflow.org
    License: Apache 2.0
    Location: /usr/local/lib/python3.6/dist-packages
    Requires: astunparse, wheel, keras-preprocessing, gast, tensorflow-estimator, opt-einsum, tensorboard, protobuf, absl-py, six, wrapt, termcolor, numpy, grpcio, scipy, google-pasta, h5py
    Required-by: fancyimpute
    

提交回复
热议问题