Tcl doesn't work inside a virtualenv on Windows
Created originally on Bitbucket by jedie (Jens Diemer)
Using tkinter in virtualenv doesn't work with PyPy 2.6.0:
c:/users/jens/appdata/roaming/dragonpy_env_pypy2/lib/tcl8.5 c:/users/jens/ap pdata/roaming/dragonpy_env_pypy2/lib/tcl8.5 c:/users/jens/appdata/roaming/lib/tc l8.5 c:/users/jens/appdata/roaming/dragonpy_env_pypy2/library c:/users/jens/appd ata/roaming/library c:/users/jens/appdata/roaming/tcl8.5.13/library c:/users/jen s/appdata/tcl8.5.13/library This probably means that Tcl wasn't installed properly.
It's a kind of a known bug, see: https://github.com/pypa/virtualenv/issues/93
Work-a-round is to set
os.environ["TCL_LIBRARY"] see also: https://github.com/pypa/virtualenv/issues/93#issuecomment-132483445
I have done this to the right place:
But it seems that the pypy version didn't use this?!?