python查看安装包的版本,并安装指定版本的包

以tensorflow为例:

查看:

import tensorflow
tensorflow.__version__

安装

pip install --user tensorflow==2.3.0

posted on 2020-08-03 14:20  静静的白桦林_andy  阅读(8706)  评论(0)    收藏  举报

导航