download and install python3
locate python3
packages site:
# Print the path to the user site-packages directory
$ python3 -m site --user-site
installing python3
makes pip3
available (at least on my machine - check on yours)
# check pip3 version
pip3 --version
# force upgrade pip3
pip3 install --upgrade pip
install ipython
to setup OS shell interaction in python3
CLI:
pip3 install ipython
install cython
for performance benefits:
pip3 install cython
see cython
post here on how to compile ‘.pyx
’
install pandas
pip3 install pandas
install numpy
pip3 install numpy
install scipy
pip3 install scipy
install matplotlib
pip3 install matplotlib
install seaborn
pip3 install seaborn
install scikit-learn
pip3 install scikit-learn
install tensorflow
for deep learning
pip3 install tensorflow
install keras
for tensorflow
frontend
pip3 install keras
install ‘pydot’ and graphviz
for keras
model plots
pip3 install pydot
pip3 install graphviz
use a search engine for respective package documentation
enter IPython
console in CLI and check installation versions
python3 -m IPython
# check pandas
import pandas
pandas.__version__
# check numpy
import numpy
numpy.__version__
# check scipy
import scipy
scipy.__version__
# check matplotlib
import matplotlib
matplotlib.__version__
# check seaborn
import seaborn
seaborn.__version__
# check scikit-learn
import sklearn
sklearn.__version__
# check tensorflow
import tensorflow
tensorflow.__version__
# check keras
import keras
keras.__version__
Next Up: data-preprocessing