Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 673
    • Issues 673
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPy
  • pypypypy
  • Issues
  • #2125
Closed
Open
Created Aug 25, 2015 by Bitbucket Importer@bitbucket_importerMaintainer

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: C:\\pypy-2.6.0-win32\\tcl\\tcl8.5

But it seems that the pypy version didn't use this?!?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking