Re: Private: Re: [yocto] how to add tkinter in Yocto?
Will do, thanks! Thanks & Regards Shrikant Vaishnav From: Gyorgy Sarvari Sent: Sunday, November 5, 2023 4:58 PM To: shrikantvaish...@hotmail.com ; yocto@lists.yoctoproject.org Subject: Re: Private: Re: [yocto] how to add tkinter in Yocto? Please make sure to send your response to the list, so the most people can help you (and others having the same issue can find this info also). On 11/5/23 10:29, shrikantvaish...@hotmail.com wrote: > Sir, > > After adding *"meta-oe" *inside *"bblayers.conf"* image compilation is > successful now. > But when I try to test for tkinter using the command: *"python3 -m tkinter"* > I get following error: > > /*_tkinter.TclError: Can't find a usable init.tcl in the following > directories: */ > /*/usr/lib/tcl8.6 /usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library > /tcl8.6.13/library /tcl8.6.13/library */ > /*This probably means that Tcl wasn't installed properly. > > *what am I doing wrong?* Do you have tcl installed in your image? Add "tcl" either to the RDEPENDS:${PN} variable of tk in a .bbappend file, or add the same to the IMAGE_INSTALL variable in your image recipe - both ways supposed to help installing the missing file. > *please help. > > Regards > Shrikant Vaishnav/ > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61617): https://lists.yoctoproject.org/g/yocto/message/61617 Mute This Topic: https://lists.yoctoproject.org/mt/102398963/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: Private: Re: [yocto] how to add tkinter in Yocto?
Please make sure to send your response to the list, so the most people can help you (and others having the same issue can find this info also). On 11/5/23 10:29, shrikantvaish...@hotmail.com wrote: Sir, After adding *"meta-oe" *inside *"bblayers.conf"* image compilation is successful now. But when I try to test for tkinter using the command: *"python3 -m tkinter"* I get following error: /*_tkinter.TclError: Can't find a usable init.tcl in the following directories: */ /*/usr/lib/tcl8.6 /usr/lib/tcl8.6 /lib/tcl8.6 /usr/library /library /tcl8.6.13/library /tcl8.6.13/library */ /*This probably means that Tcl wasn't installed properly. *what am I doing wrong?* Do you have tcl installed in your image? Add "tcl" either to the RDEPENDS:${PN} variable of tk in a .bbappend file, or add the same to the IMAGE_INSTALL variable in your image recipe - both ways supposed to help installing the missing file. *please help. Regards Shrikant Vaishnav/ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61616): https://lists.yoctoproject.org/g/yocto/message/61616 Mute This Topic: https://lists.yoctoproject.org/mt/102398963/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [yocto] how to add tkinter in Yocto?
On 11/4/23 16:55, shrikantvaish...@hotmail.com wrote: /ERROR: Nothing PROVIDES 'tk' (but /home/shri/Yocto_Rasp/poky/meta/recipes-devtools/python/python3_3.11.2.bb DEPENDS on or otherwise requires it). Close matches:/ / atk/ /NOTE: Runtime target 'python3-tkinter' is unbuildable, removing.../ /Missing or unbuildable dependency chain was: ['python3-tkinter', 'tk']/ tk is part of meta-oe - have you added its folder to BBLAYERS in bblayers.conf? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61615): https://lists.yoctoproject.org/g/yocto/message/61615 Mute This Topic: https://lists.yoctoproject.org/mt/102385809/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-