更新时间:2023-09-26 17:02:46
Python库作者将版本号放在<module>.__version__
中.您可以通过在命令行上运行它来打印它:
Python library authors put the version number in <module>.__version__
. You can print it by running this on the command line:
python -c 'import keras; print(keras.__version__)'
如果是Windows终端,请在代码段中用双引号将其括起来,如下所示
If it's Windows terminal, enclose snippet with double-quotes like below
python -c "import keras; print(keras.__version__)"