[GH-ISSUE #119] Tcl version conflict #113

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

Originally created by @Shappes on GitHub (Aug 26, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/119

Hi I used before py2exe and it doesnt work for me anymore so I looked up for new way and found you some how i get this error after running the .exe

Can't find a usable init.tcl in the following directories:
{C:\Users\xxx\AppData\Local\Temp_MEI43122\tcl} C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl8.6 C:/Users/xxx/Desktop/xxx/lib/tcl8.6 C:/Users/xxx/Desktop/xxx/lib/tcl8.6 C:/Users/xxx/Desktop/lib/tcl8.6 C:/Users/xxx/Desktop/xxx/library C:/Users/xxx/Desktop/library C:/Users/xxx/Desktop/tcl8.6.1/library C:/Users/xxx/tcl8.6.1/library
C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl/init.tcl: version conflict for package "Tcl": have 8.6.1, need exactly 8.6.9
version conflict for package "Tcl": have 8.6.1, need exactly 8.6.9
while executing
"package require -exact Tcl 8.6.9"
(file "C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl/init.tcl" line 19)
invoked from within
"source C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl/init.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list source $tclfile]"
This probably means that Tcl wasn't installed properly.

I tried and installed the new version but it seems not to take it from my pc instead from the code.
If i run cmd and run wish and look for version it tells me 8.6.9.

What can I do?
Thank you in advance

Originally created by @Shappes on GitHub (Aug 26, 2020). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/119 Hi I used before py2exe and it doesnt work for me anymore so I looked up for new way and found you some how i get this error after running the .exe > Can't find a usable init.tcl in the following directories: > {C:\Users\xxx\AppData\Local\Temp\_MEI43122\tcl} C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl8.6 C:/Users/xxx/Desktop/xxx/lib/tcl8.6 C:/Users/xxx/Desktop/xxx/lib/tcl8.6 C:/Users/xxx/Desktop/lib/tcl8.6 C:/Users/xxx/Desktop/xxx/library C:/Users/xxx/Desktop/library C:/Users/xxx/Desktop/tcl8.6.1/library C:/Users/xxx/tcl8.6.1/library > C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl/init.tcl: version conflict for package "Tcl": have 8.6.1, need exactly 8.6.9 > version conflict for package "Tcl": have 8.6.1, need exactly 8.6.9 > while executing > "package require -exact Tcl 8.6.9" > (file "C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl/init.tcl" line 19) > invoked from within > "source C:/Users/xxx/AppData/Local/Temp/_MEI43122/tcl/init.tcl" > ("uplevel" body line 1) > invoked from within > "uplevel #0 [list source $tclfile]" > This probably means that Tcl wasn't installed properly. I tried and installed the new version but it seems not to take it from my pc instead from the code. If i run cmd and run wish and look for version it tells me 8.6.9. What can I do? Thank you in advance
kerem closed this issue 2026-02-26 12:20:32 +03:00
Author
Owner

@brentvollebregt commented on GitHub (Aug 27, 2020):

When you install Python, there is a tcl option that is enabled by default - did you deselect this?

Try reinstalling your Python (making sure you do not disable that option) and package again.

<!-- gh-comment-id:681624652 --> @brentvollebregt commented on GitHub (Aug 27, 2020): When you install Python, there is a tcl option that is enabled by default - did you deselect this? Try reinstalling your Python (making sure you do not disable that option) and package again.
Author
Owner

@Shappes commented on GitHub (Aug 27, 2020):

When you install Python, there is a tcl option that is enabled by default - did you deselect this?

Try reinstalling your Python (making sure you do not disable that option) and package again.

everything fine im using python 3.7 - My plan is to have a .exe and the files needed for this in a folder and there i have a the old tcl 8.6.1 so he gets the one from the folder. Do you maybe know how to update the one from 8.6.1 to 8.6.9?

<!-- gh-comment-id:682021608 --> @Shappes commented on GitHub (Aug 27, 2020): > When you install Python, there is a tcl option that is enabled by default - did you deselect this? > > Try reinstalling your Python (making sure you do not disable that option) and package again. everything fine im using python 3.7 - My plan is to have a .exe and the files needed for this in a folder and there i have a the old tcl 8.6.1 so he gets the one from the folder. Do you maybe know how to update the one from 8.6.1 to 8.6.9?
Author
Owner

@brentvollebregt commented on GitHub (Aug 28, 2020):

I'm unsure sorry, I do not do a lot with tcl/tkinter myself.

<!-- gh-comment-id:682380067 --> @brentvollebregt commented on GitHub (Aug 28, 2020): I'm unsure sorry, I do not do a lot with tcl/tkinter myself.
Author
Owner

@brentvollebregt commented on GitHub (Jan 19, 2021):

Closing due to no activity in more than three months.

<!-- gh-comment-id:763054183 --> @brentvollebregt commented on GitHub (Jan 19, 2021): Closing due to no activity in more than three months.
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#113
No description provided.