Virtual Machines
Run the following commands on your virtual machines. You can use pip or conda
Using Pip
pip
          
              $ sudo apt install python-pip
            
        
jupyter
          
              $ pip3 install jupyter
            
        
scikit-learn
          
              $ pip3 install scikit-learn
            
        
numpy
          
              $ pip3 install numpy
            
        
pandas
          
              $ pip3 install pandas
            
        
matplotlib
          
              $ pip3 install matplotlib
            
        
graphviz
          
              $ pip3 install graphviz
            
        
pydotplus
          
              $ pip3 install pydotplus
            
        
tensorflow
          
              $ python3 -m pip install tensorflow
            
        
nltk
          
              $ pip3 install nltk
            
        
gensim
          
              $ pip3 install gensim
            
        
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
            
        
Google-Colaboratory
You can also test the exercises on Google Colaboratory: https://colab.research.google.com/. If you have a Google account, you can create a Python notebook. You can access your Google drive files, after mounting them.
Mounting Google drive
          
            from google.colab import drive
        
            drive.mount('/content/gdrive')
            
You can see the files in your Drive folder.
          
                from os import listdir
        
                
                for f in listdir("/content/gdrive/My Drive"):
                  print(f)
            
