[pypy-issue] Issue #2125: Tcl doesn't work inside a virtualenv on Windows (pypy/pypy)
Jens Diemer
issues-reply at bitbucket.org
Tue Aug 25 17:07:06 CEST 2015
New issue 2125: Tcl doesn't work inside a virtualenv on Windows
https://bitbucket.org/pypy/pypy/issues/2125/tcl-doesnt-work-inside-a-virtualenv-on
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: ```C:\\pypy-2.6.0-win32\\tcl\\tcl8.5```
But it seems that the pypy version didn't use this?!?
More information about the pypy-issue
mailing list