Skip to content

AttributeError in version 20.33.1: 'PythonInfo' object has no attribute 'tcl_lib' #2944

@douwevandermeij

Description

@douwevandermeij

Issue

  AttributeError

  'PythonInfo' object has no attribute 'tcl_lib'

  at /opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/virtualenv/activation/via_template.py:50 in replacements
       46│             "__VIRTUAL_ENV__": str(creator.dest),
       47│             "__VIRTUAL_NAME__": creator.env_name,
       48│             "__BIN_NAME__": str(creator.bin_dir.relative_to(creator.dest)),
       49│             "__PATH_SEP__": os.pathsep,
    →  50│             "__TCL_LIBRARY__": creator.interpreter.tcl_lib or "",
       51│             "__TK_LIBRARY__": creator.interpreter.tk_lib or "",
       52│         }
       53│ 
       54│     def _generate(self, replacements, templates, to_folder, creator):

Environment

Provide at least:

  • OS: Ubuntu
  • Shell: GitHub Actions
  • Python version and path: 3.12.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions