tinyfpga / TinyFPGA-Programmer-Application

Desktop application for programming TinyFPGA boards
GNU General Public License v3.0
60 stars 19 forks source link

Default install is missing tk/tcl on windows #7

Open 1bardesign opened 5 years ago

1bardesign commented 5 years ago

Similar to #6 - tcl seems to be missing from the default installation on windows?

Works ok with full "default" install of python 2.7.x (with tk included) - so either a stripped down installer is being used vs the vanilla python distribution, or the tk dependency is being deselected by the automatic installation.

Quite annoying to track down as the application just starts and immediately crashes to desktop without alerting the user. Needed to be manually started from the command line through "python" to give any helpful output.

Working otherwise 👍

Joshinken commented 2 years ago

Similar to #6 - tcl seems to be missing from the default installation on windows?

Works ok with full "default" install of python 2.7.x (with tk included) - so either a stripped down installer is being used vs the vanilla python distribution, or the tk dependency is being deselected by the automatic installation.

Quite annoying to track down as the application just starts and immediately crashes to desktop without alerting the user. Needed to be manually started from the command line through "python" to give any helpful output.

Working otherwise 👍

how exactly did you manage to fix this? im still struggling with it, it just keeps returning "This probably means that Tcl wasn't installed properly." and ive tried reinstalling it over and over

Joshinken commented 2 years ago

i fixed it by copying the folders tcl8.5 and tk8.5 from c:/python27/tcl to c:/python27/lib, now i can launch it via the python command in cmd, i still cant launch the actual .exe file i downloaded though

1bardesign commented 2 years ago

As I don't use windows any more and this was over 3 years ago, i frankly can't remember, haha.

I think I just installed python 2.7.x via their official windows installer with default everything and then the programmer would work.

Note that python 2 is end of life, and that the situation may have worsened since I last touched this.

Joshinken commented 2 years ago

ive actually kinda figured it out, tho i can only run the .py file, not the actual .exe, but that works well enough for my purposes ive actually written down how to make it work step-by-step and im gonna post that as a separate issue so that others dont have to go on the same hours-long journey of discovery that i did