<SOLVED>
Hi, I could fix the above described issue, but it requires an extra mile to go.
Furhter I recommend to save the python:armhf in a virtualenv, because any later "apt-get install ..." may wipe the python:armhf.
Here are the fabric commands that I use.
sudo("apt-get purge -y python2.7 python2.7-dev python2.7-minimal")
sudo("apt-get install -y linux-libc-dev:armhf")
sudo("apt-get install -y python2.7:armhf python2.7-dev:armhf python2.7-minimal:armhf")
# other python modules that will not install w/ pip because something won't compile, e.g. pillow
sudo("apt-get install -y python-pillow:armhf")
# get-pip is the only way to go here, apt install python-pip will wipe python:armhf
with cd("/tmp"):
run("curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py")
sudo("/usr/bin/python2.7 get-pip.py")
# install virtualenv for saving python:armhf
with cd("/usr/bin/"):
sudo("ln -sfv python2.7 python")
sudo("pip install virtualenv")
run("virtualenv -p /usr/bin/python2.7 --system-site-packages /home/uracolix/ve_py27_armhf")