Try using apt to install python dependencies.