python-idle missing tk in FatDog (Solved)
-
- Posts: 15
- Joined: Tue 03 Mar 2020, 03:27
python-idle missing tk in FatDog (Solved)
Hi,
I am running the latest FD release and I get the following error message when I try to run idle (idle3/python3-3.6.5). Same happens on python 2.7.
"IDLE can't import Tkinter.
Your python may not be configured for TK."
After poking around in the folders, I found "tkinter" to be present. My guess there is somewhere a config file that should point to this folder? Is there someone who can point me in the right direction?
Thanks.
I am running the latest FD release and I get the following error message when I try to run idle (idle3/python3-3.6.5). Same happens on python 2.7.
"IDLE can't import Tkinter.
Your python may not be configured for TK."
After poking around in the folders, I found "tkinter" to be present. My guess there is somewhere a config file that should point to this folder? Is there someone who can point me in the right direction?
Thanks.
Last edited by out-of-Whack on Thu 05 Mar 2020, 03:42, edited 1 time in total.
-
- Posts: 15
- Joined: Tue 03 Mar 2020, 03:27
Thanks, will be fixed in next release. For the time being just install these two:
http://distro.ibiblio.org/fatdog/packag ... 6_64-1.txz
http://distro.ibiblio.org/fatdog/packag ... 6_64-1.txz
Greetings!
http://distro.ibiblio.org/fatdog/packag ... 6_64-1.txz
http://distro.ibiblio.org/fatdog/packag ... 6_64-1.txz
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
-
- Posts: 15
- Joined: Tue 03 Mar 2020, 03:27
@All, Thanks for your reply.
SFR I downloaded the python3-tk ... and installed.
To be more specific I converted to sfs per Rox Right Click,
and than loaded the sfs after I loaded the python3 sfs.
Typing python3 on the cli gives me the expected resonse,
so this seems to work. But "idle" still gives me the same
error message.
Since this did not work, I added "_tkinter.so" from the python3-tk...
to the "python3-3.6.5" sfs, so I have only one sfs to load, and also
to see if that makes a difference. But the results were the same, "idle"
missing "tkinter". Btw this was the only file I added, I did not add the
source folder. Maybe this is the mistake?
I am not sure if this is just a problem because I run it from sfs instead
of installing, or if the problem might be somewhere else.
Sorry for the lengthy message.
SFR I downloaded the python3-tk ... and installed.
To be more specific I converted to sfs per Rox Right Click,
and than loaded the sfs after I loaded the python3 sfs.
Typing python3 on the cli gives me the expected resonse,
so this seems to work. But "idle" still gives me the same
error message.
Since this did not work, I added "_tkinter.so" from the python3-tk...
to the "python3-3.6.5" sfs, so I have only one sfs to load, and also
to see if that makes a difference. But the results were the same, "idle"
missing "tkinter". Btw this was the only file I added, I did not add the
source folder. Maybe this is the mistake?
I am not sure if this is just a problem because I run it from sfs instead
of installing, or if the problem might be somewhere else.
Sorry for the lengthy message.
-
- Posts: 15
- Joined: Tue 03 Mar 2020, 03:27
Sorry, I did not mention this, yes I typed idle3. And to check python, I typed python3, for the 3.6 version.
I uninstalled some built-in apps did a remaster and replaced initrd with the one from the remaster, but I don't really see this an issue. That was before trying out python.
... maybe Tkinter is not finding Tcl/Tk ?
I uninstalled some built-in apps did a remaster and replaced initrd with the one from the remaster, but I don't really see this an issue. That was before trying out python.
... maybe Tkinter is not finding Tcl/Tk ?
Did you install Tcl/Tk?... maybe Tkinter is not finding Tcl/Tk ?
Both Pythons as well as Tcl/Tk are in fd64-devx_810.sfs, so maybe give it a try, instead of separate pkgs/SFSes?To be more specific I converted to sfs per Rox Right Click,
and than loaded the sfs after I loaded the python3 sfs.
To quickly check that it really works, boot using the original initrd with 'savefile=none' (if you're using savefile/dir), load devx.sfs, install the linked packages and this should work for sure.
Then try with your remastered initrd, but still without the savefile and see if it works, too.
Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]
[b][color=green]Omnia mea mecum porto.[/color][/b]
-
- Posts: 15
- Joined: Tue 03 Mar 2020, 03:27
-
- Posts: 15
- Joined: Tue 03 Mar 2020, 03:27