百度查了一下,感觉答案都不好,记录一下。

命令 pip show xxxx

即可查看 已经安装的包的版本,比如 pip show tensorflow

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: /home/yan/anaconda3/lib/python3.7/site-packages
Requires: grpcio, h5py, numpy, wrapt, protobuf, gast, termcolor, tensorboard, absl-py, six, tensorflow-estimator, scipy, google-pasta, wheel, keras-preprocessing, opt-einsum, astunparse
Required-by: 

Smileyan
2020.9.24 13:41

更多推荐