Ubuntu 16.04 Exception: tostring() has been removed. Please call tobytes() instead.

Ubuntu 16.04 Exception: tostring() has been removed. Please call tobytes() instead.
pillow版本问题,换成2.9.0就没有问题了
$sudo pip install pillow==2.9.0

############################
pip安装:
方式1: 
$sudo apt install python-pip
方式2:
$wget https://bootstrap.pypa.io/get-pip.py
$python get-pip.py

$pip -V  #查看pip版本




你可能感兴趣的:(Android,android,编译)