Tried installing 1.3.1 with cache & gcc. Got stock on a netifaces error. Either upgrading pip or installing python-dev seemed to get past that.
pip install --upgrade pip
opkg install python-dev --force-overwrite
pip install netifaces