python errors notes

environment: python3.6, not tested on python2.x

ImportError: cannot import name imread

1
pip install Pillow==2.6.0

ModuleNotFoundError: No module named ‘past’

1
pip install future

ValueError: unknown locale: UTF-8

1
vi ~/.zshrc

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

1
source ~/.zshrc