If you are using Linux OS:
- Remove
matplotlib==1.3.1fromrequirements.txt - Try to install
matplotlibwithsudo apt-get install python-matplotlib - Install all packages again from requirements.txt
- For Python 2: run
pip install -r requirements.txt - For Python 3: run
pip3 install -r requirements.txt
- For Python 2: run
pip freeze > requirements.txt
If you are using Windows OS:
python -m pip install -U pip setuptoolspython -m pip install matplotlib