Запуск jupyter notebook в Ubuntu 20.04 LTS


Установка нужных пакетов

$ {
    pip install --upgrade jupyter
    pip install --upgrade matplotlib
    pip install --upgrade numpy
    pip install --upgrade pandas
    pip install --upgrade scipy
    pip install --upgrade scikit-learn
    pip install --upgrade seaborn
}


$ jupyter notebook --ip 0.0.0.0 --port 8888


import matplotlib
import numpy
import pandas
import scipy
import sklearn

print('matplotlib',  matplotlib.__version__)
print('numpy', numpy.__version__)
print('pandas', pandas.__version__)
print('scipy', scipy.__version__)
print('sklearn', sklearn.__version__)


matplotlib 3.5.1
numpy 1.22.2
pandas 1.4.1
scipy 1.8.0
sklearn 1.0.2


Проверка версии python и библиотеки tensorflow


from platform import python_version
print('python: ' + python_version())

import tensorflow as tf
print('tf: ' + tf.__version__)


python: 3.8.10
tf: 2.3.4