[GH-ISSUE #506] This probably means that Tcl wasn't installed properly #392

Closed
opened 2026-02-26 12:21:27 +03:00 by kerem · 4 comments
Owner

Originally created by @tnt6213274o6923 on GitHub (Oct 19, 2024).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/506

Originally assigned to: @brentvollebregt on GitHub.

hi i'am suraphat i from thai pass help me brentvollebregt to the eror tha i un
translate by google translate

cmd:
PS H:\app system> auto-py-to-exe
Traceback (most recent call last):
File "\?\H:\app system.venv\Scripts\auto-py-to-exe-script.py", line 33, in
sys.exit(load_entry_point('auto-py-to-exe==2.44.2', 'console_scripts', 'auto-py-to-exe')())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "\?\H:\app system.venv\Scripts\auto-py-to-exe-script.py", line 25, in importlib_load_entry_point
return next(matches).load()
~~~~~~~~~~~~~~~~~~^^
File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\importlib\metadata_init_.py", line 179, in load
module = import_module(match.group('module'))
File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\importlib_init_.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 1022, in exec_module
File "", line 488, in call_with_frames_removed
File "H:\app system.venv\Lib\site-packages\auto_py_to_exe_main
.py", line 11, in
from . import version, config, ui, validation # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\app system.venv\Lib\site-packages\auto_py_to_exe\ui.py", line 9, in
from . import config, dialogs, packaging, utils
File "H:\app system.venv\Lib\site-packages\auto_py_to_exe\dialogs.py", line 26, in
root = Tk()
File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\tkinter_init
.py", line 2459, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
C:/Users/Admin/AppData/Local/Programs/Python/Python313/lib/tcl8.6 C:/Users/Admin/AppData/Local/Programs/Python/lib/tcl8.6 C:/Users/Admin/AppData/Local/Programs/lib/tcl8.6 C:/Users/Admin/AppData/Local/Programs/Python/library C:/Users/Admin/AppData/Local/Programs/library C:/Users/Admin/AppData/Local/Programs/tcl8.6.14/library C:/Users/Admin/AppData/Local/tcl8.6.14/library

This probably means that Tcl wasn't installe

-suraphat
thank you

Originally created by @tnt6213274o6923 on GitHub (Oct 19, 2024). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/506 Originally assigned to: @brentvollebregt on GitHub. hi i'am suraphat i from thai pass help me brentvollebregt to the eror tha i un translate by google translate cmd: PS H:\app system> auto-py-to-exe Traceback (most recent call last): File "\\?\H:\app system\.venv\Scripts\auto-py-to-exe-script.py", line 33, in <module> sys.exit(load_entry_point('auto-py-to-exe==2.44.2', 'console_scripts', 'auto-py-to-exe')()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "\\?\H:\app system\.venv\Scripts\auto-py-to-exe-script.py", line 25, in importlib_load_entry_point return next(matches).load() ~~~~~~~~~~~~~~~~~~^^ File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\importlib\metadata\__init__.py", line 179, in load module = import_module(match.group('module')) File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\importlib\__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 1022, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "H:\app system\.venv\Lib\site-packages\auto_py_to_exe\__main__.py", line 11, in <module> from . import __version__, config, ui, validation # noqa: E402 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "H:\app system\.venv\Lib\site-packages\auto_py_to_exe\ui.py", line 9, in <module> from . import config, dialogs, packaging, utils File "H:\app system\.venv\Lib\site-packages\auto_py_to_exe\dialogs.py", line 26, in <module> root = Tk() File "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\tkinter\__init__.py", line 2459, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ _tkinter.TclError: Can't find a usable init.tcl in the following directories: C:/Users/Admin/AppData/Local/Programs/Python/Python313/lib/tcl8.6 C:/Users/Admin/AppData/Local/Programs/Python/lib/tcl8.6 C:/Users/Admin/AppData/Local/Programs/lib/tcl8.6 C:/Users/Admin/AppData/Local/Programs/Python/library C:/Users/Admin/AppData/Local/Programs/library C:/Users/Admin/AppData/Local/Programs/tcl8.6.14/library C:/Users/Admin/AppData/Local/tcl8.6.14/library This probably means that Tcl wasn't installe -suraphat thank you
kerem 2026-02-26 12:21:27 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Oct 19, 2024):

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

<!-- gh-comment-id:2423881772 --> @github-actions[bot] commented on GitHub (Oct 19, 2024): 👋 Hi, just a reminder that if you haven't read [the help post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/) yet, give it a read to see if your issue is covered in it and make sure to follow [the debugging section](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/#debugging). Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help [post](https://nitratine.net/blog/post/issues-when-using-auto-py-to-exe/), [video](https://youtu.be/OZSZHmWSOeM) or create a [new discussion](https://github.com/brentvollebregt/auto-py-to-exe/discussions).
Author
Owner

@tnt6213274o6923 commented on GitHub (Oct 19, 2024):

https://github.com/user-attachments/assets/b18cb286-f40d-44b4-a861-79bba374ffe4

<!-- gh-comment-id:2423902776 --> @tnt6213274o6923 commented on GitHub (Oct 19, 2024): https://github.com/user-attachments/assets/b18cb286-f40d-44b4-a861-79bba374ffe4
Author
Owner

@brentvollebregt commented on GitHub (Oct 25, 2024):

Looks like this might be an issue in Python 3.13: https://github.com/python/cpython/issues/125235

Can you try a different Python version?

<!-- gh-comment-id:2437452783 --> @brentvollebregt commented on GitHub (Oct 25, 2024): Looks like this might be an issue in Python 3.13: https://github.com/python/cpython/issues/125235 Can you try a different Python version?
Author
Owner

@tnt6213274o6923 commented on GitHub (Oct 25, 2024):

yes thank you for help

<!-- gh-comment-id:2437850156 --> @tnt6213274o6923 commented on GitHub (Oct 25, 2024): yes thank you for help
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#392
No description provided.