Trying to run python code with TKinter-based widgets from a virtualenv.
user@computer:~/myproject$ env/bin/python Python
2.7.3 (default, Sep 26 2012,
clone the cpython project
git clone git@github.com:python/cpython.git
cd to the cpython directory.
git checkout the desired version of your virtual env(for me it is 3.4),
and build it with
./configure
make
make test
sudo make install
you will find an so file _tkinter.cpython-xxx.so in a subdir of the build/ directory, copy it to your venv's lib-dynload dir. (for me it is ~/tf1.1py3.4/lib/python3.4/lib-dynload/)