Run the following commands on your virtual machines. You can use pip or conda
Using Pip
pip
            
              $ sudo apt install python-pip
            
          
jupyter
            
              $ python3 -m pip install jupyter
            
          
scikit-learn
            
              $ python3 -m pip install scikit-learn
            
          
OR
            
              $ sudo apt install python-sklearn
            
          
numpy
            
              $ python3 -m pip install numpy
            
          
OR
            
              $ sudo apt install python-numpy
            
          
pandas
            
              $ python3 -m pip install pandas
            
          
OR
            
              $ sudo apt install python-pandas
            
          
matplotlib
            
              $ python3 -m pip install matplotlib
            
          
OR
            
              $ sudo apt install python-matplotlib
            
          
tensorflow
            
              $ python3 -m pip install tensorflow
            
          
Conda/Microconda
Download Miniconda (relevant to your architecture) on your virtual machine. Run the executable. If successful, it must create miniconda2 dirctory in your home folder on your machine.
jupyter
            
              $ conda install jupyter
            
          
scikit-learn
            
              $ conda install scikit-learn
            
          
numpy
            
              $ conda install numpy
            
          
pandas
            
              $ conda install pandas
            
          
matplotlib
            
              $ conda install matplotlib
            
          
tensorflow
            
              $ conda install tensorflow
            
          
