sudo apt-get install debootstrap schroot
CHROOT=/tmp/saucy-i386; mkdir -p $CHROOT; sudo debootstrap --arch=i386 --include=python-pandas,sudo,wget --components=main,universe,multiverse saucy $CHROOT http://debian.lcs.mit.edu/ubuntu
echo -e "[saucy-i386]\ndescription=Ubuntu saucy i386 architecture\ndirectory=$CHROOT\ntype=directory\nusers=$USER\nroot-groups=root\n" | sudo bash -c 'cat - > /etc/schroot/chroot.d/saucy-i386'
schroot -c saucy-i386
Get packages from neurodebian
wget -O- http://neuro.debian.net/lists/saucy.us-nh.full | sudo tee /etc/apt/sources.list.d/neurodebian.sources.list
sudo apt-key adv --recv-keys --keyserver pgp.mit.edu 2649A5A9
sudo sed -ie 's,#deb-src ,deb-src ,g' /etc/apt/sources.list.d/neurodebian.sources.list
sudo apt-get update
sudo apt-get build-dep python-statsmodels
You might need to temporarily move your ~/.local directory to avoid conflicts with packages locally installed by pip.
To run GUIs, you need to find out your display outside of the chroot. echo $DISPLAY
and then set it in the chroot environment. export DISPLAY=...
some new lines got eaten so be careful ;)