--- lang: ja-jp breaks: true --- # Python 各種ライブラリのバージョン表示 2021-07-23 ```python= import os import numpy as np import pandas as pd import tensorflow as tf import matplotlib print('getcwd: ', os.getcwd()) print('__file__: ', __file__) print('script path: ', os.path.dirname(os.path.abspath(__file__))) print("numpy :" , np.__version__) print("pandas :" , pd.__version__) print("tensorflow :", tf.__version__) print("matplotlib :", matplotlib.__version__) ``` ###### tags: `Python` `ライブラリ` `バージョン表示`