Click on this link for an interactive readme of the project.
Installation
- Create a new Python 2.7 virtual environment for the project
conda create -n mlb python=2.7
- Activate virtual enviornment
conda activate mlb
- Clone repo and install required dependencies
pip install -r requirements.txt
- Install jupyter kernel for virtual environment and move kernel files
pip install jupyter
python -m ipykernel install --name mlb --display-name "Python 2 (mlb)"
mv /usr/local/share/jupyter/kernels/mlb ~/Library/Jupyter/kernels/
- Use
Python 2 (mlb)
kernel in jupyter notebook when importing files from this repo