Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This probably means that Tcl wasn't installed properly #506

Closed
tnt6213274o6923 opened this issue Oct 19, 2024 · 4 comments
Closed

This probably means that Tcl wasn't installed properly #506

tnt6213274o6923 opened this issue Oct 19, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@tnt6213274o6923
Copy link

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

@tnt6213274o6923 tnt6213274o6923 added the bug Something isn't working label Oct 19, 2024
Copy link

👋 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.

@tnt6213274o6923
Copy link
Author

Get.to.know.Game.Bar.on.Windows._.Xbox.Support.11.-.-.Microsoft.Edge.2567-10-19.21-03-04.mp4

@brentvollebregt
Copy link
Owner

Looks like this might be an issue in Python 3.13: python/cpython#125235

Can you try a different Python version?

@tnt6213274o6923
Copy link
Author

tnt6213274o6923 commented Oct 25, 2024

yes thank you for help

@brentvollebregt brentvollebregt changed the title "C:\Users\Admin\AppData\Local\Programs\Python\Python313\Lib\importlib\metadata\__init__.py", line 179, This probably means that Tcl wasn't installed properly Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants