- Install python 3.7.14 from this link (Note: There might be issues with the newer python versions)
- Use pip3 to install jupyterlab and all other packages (Note: pip3 is shipped with python)
- Install jupyterlab
pip3 install jupyterlab
(Note: The installation should start) - Test the installation with typing
jupyter notebook
(A new therminal will be opened)
- Install tensorflow
pip3 install "tensorflow>=1.15,<2.0"
(Older version 1.15.2 and not version 2) - Test tensorflow with
>> % python3
Python 3.7.4 (v3.7.4:e09359112e, Jul 8 2019, 14:54:52)
>>> % import tensorflow as tf
>>> % print(tf.__version__)
1.15.2
>>>
- Install matplotlib
pip3 install matplotlib
- Install scipy
pip3 install scipy
- Install pandas
pip3 install pandas
- Install sklearn
pip3 install sklearn
- Install
mpld3
withpip install mpld3
- Add this command
%matplotlib inline
import mpld3
mpld3.enable_notebook()
- Add this code
import matplotlib
matplotlib.use('nbagg')
import matplotlib.pyplot as plt