Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF463C4332F for ; Sat, 4 Nov 2023 15:55:55 +0000 (UTC) Subject: how to add tkinter in Yocto? To: yocto@lists.yoctoproject.org From: shrikantvaishnav@hotmail.com X-Originating-Location: Gurgaon, Haryana, IN (49.36.138.222) X-Originating-Platform: Linux Firefox 119 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Sat, 04 Nov 2023 08:55:55 -0700 Message-ID: Content-Type: multipart/alternative; boundary="NE5La6cjBmuTBc3788qv" List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 04 Nov 2023 15:55:55 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61614 --NE5La6cjBmuTBc3788qv Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello all, I want to add " *Tkinter"* in my Linux image and for this, i have added the= se two line in my local.conf file. * (1)" IMAGE_INSTALL:append =3D " python3-tkinter" (2)PACKAGECONFIG:append:pn-python3 =3D " tk" * When I compile i get the following errors: * shri@Shri:~/Yocto_Rasp/poky$ bitbake core-image-sato Loading cache: 100% |######################################################= ###########| Time: 0:00:00 Loaded 1838 entries from dependency cache. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'tk' (but /home/shri/Yocto_Rasp/poky/meta/recipes-d= evtools/python/python3_3.11.2.bb DEPENDS on or otherwise requires it). Clos= e matches: atk NOTE: Runtime target 'python3-tkinter' is unbuildable, removing... Missing or unbuildable dependency chain was: ['python3-tkinter', 'tk'] ERROR: Required build target 'core-image-sato' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-sato', 'python3-t= kinter', 'tk'] * What am I doing wrong? * * Please help after this I also want to add *" ttkbootstrap/custom-tkinter "*= for a modern UI look and feel. * Thanks and Regards Shrikant Vaishnav * --NE5La6cjBmuTBc3788qv Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello all,

I want to add "Tkinter" in my Linux = image and for this, i have added these two line in my local.conf file.<= /em>
(1)" IMAGE_INSTALL:append =3D " python3-tkinter"
=
(2)PACKAGECONFIG:append:pn-python3 =3D " tk"


When I compile i get the following errors:

shri@Shri:~/Yocto_Rasp/poky$ bitbake core-image-sato

Loadin= g cache: 100% |############################################################= #####| Time: 0:00:00
Loaded 1838 entries from dependency cach= e.
NOTE: Resolving any missing task queue dependenciesERROR: Nothing PROVIDES 'tk' (but /home/shri/Yocto_Rasp/poky/meta/r= ecipes-devtools/python/python3_3.11.2.bb DEPENDS on or otherwise requires i= t). Close matches:
  atk
NOTE: Runtime tar= get 'python3-tkinter' is unbuildable, removing...
Missing or = unbuildable dependency chain was: ['python3-tkinter', 'tk']
E= RROR: Required build target 'core-image-sato' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato= ', 'python3-tkinter', 'tk']

What am I doing wrong?=


Please help after this I also want to ad= d " ttkbootstrap/custom-tkinter " for a modern UI= look and feel.

Thanks and Regards
Shrikant Vaishna= v
--NE5La6cjBmuTBc3788qv--