This doesnt seem like a virtual environment problem. Rather a problem of missing dependencies for your python installation. Try
sudo apt-get build-dep python3
Then try to configure and build python3.3 again. Also add the -dev package
sudo apt-get install python3.3-dev
Now try installing your package. Most likely you want to create your virtual environment again.
tarfile.py tries to open the tarball using one of the four extraction methods (tar, gzip, bz2, xopen) and it errors out if it cant find respective modules in the python library, some of which might not be included in the base python package.