create a virtualenv, activate it, and install all of your application dependencies. virtualenv env source env/bin/activate pip install -r requirements.txt How to run jupyter notebook Reference https://stackoverflow.com/questions/24458645/label-encoding-across-multiple-columns-in-scikit-learn