2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Jupyter notebook 実行中にPythonライブラリのバージョンを確認する

Posted at

覚書です。
確認できたものを記載しておきます。

環境

OS: windows 10.0
python: 3.7.3
Anaconda: conda 4.10.1

実施日

2021/06/18

コード

import sys
print("Python version:{}".format(sys.version))

import IPython
print("IPython version:{}".format(IPython.__version__))

import numpy as np
print("Numpy version:{}".format(np.__version__))

import scipy as sp
print("scipy version:{}".format(sp.__version__))

import pandas as pd
print("pandas version:{}".format(pd.__version__))

import matplotlib
print("matplotlib version:{}".format(matplotlib.__version__))

import seaborn as sns
print("seaborn version:{}".format(sns.__version__))

import sklearn
print("scikit-learn version:{}".format(sklearn.__version__))

import mglearn
print("mglearn version:{}".format(mglearn.__version__))

import networkx as nx
print("networkx version:{}".format(nx.__version__))

import cv2
print("opencv-python version:{}".format(cv2.__version__))

import dlib
print("Dlib version:{}".format(dlib.__version__))

結果

Python version:3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)]
IPython version:7.22.0
Numpy version:1.20.2
scipy version:1.6.2
pandas version:1.2.4
matplotlib version:3.3.4
seaborn version:0.11.1
scikit-learn version:0.24.2
mglearn version:0.1.9
networkx version:2.5
opencv-python version:4.5.2
Dlib version:19.22.0
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?