Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Python] problème avec Skencil (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Will11
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2005
Posts: 90
Location: Belgium

PostPosted: Fri Aug 26, 2005 1:39 pm    Post subject: [Python] problème avec Skencil (résolu) Reply with quote

Je voulais tester le programme de dessin Skencil, donc je fais un pti emerge skencil, donc se compile sans problème.
Puis quand je veux le lancer voici ce qu'il m'affiche:
Code:
Traceback (most recent call last):
  File "/usr/bin/skencil", line 34, in ?
    Sketch.main.main()
  File "/usr/lib/skencil-0.6.16/Sketch/Base/main.py", line 142, in main
    Sketch.init_ui()
  File "/usr/lib/skencil-0.6.16/Sketch/__init__.py", line 187, in init_ui
    __import__(name)
  File "/usr/lib/skencil-0.6.16/Script/export_raster.py", line 46, in ?
    from Sketch.UI.sketchdlg import SKModal
  File "/usr/lib/skencil-0.6.16/Sketch/UI/sketchdlg.py", line 66, in ?
    from Tkinter import Toplevel, IntVar, Frame, Checkbutton, Label
ImportError: No module named Tkinter


Je pige rien dutout à ce charabia si ce n'est qu'il manque un module python (enfin je crois). Quelqu'un a-t'il une idée pour règler se problème ?


Last edited by Will11 on Fri Aug 26, 2005 2:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Fri Aug 26, 2005 2:01 pm    Post subject: Reply with quote

Il faut probablement que tu réinstalles dev-lang/python avec le USE flag "tcltk" activé.
Back to top
View user's profile Send private message
Will11
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2005
Posts: 90
Location: Belgium

PostPosted: Fri Aug 26, 2005 2:44 pm    Post subject: Reply with quote

Merci c'était bien ça :wink:

Comment t'as su ce qu'il manquait ?
Back to top
View user's profile Send private message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Fri Aug 26, 2005 2:55 pm    Post subject: Reply with quote

Will11 wrote:
Comment t'as su ce qu'il manquait ?

Parceque je connaissais Tkinter, et donc je savais que c'était un module standard de Python, pas un paquet séparé. Donc j'ai regardé les USE flags de Python, et je me suis dis que le flag "tcltk" devait servir à le désactiver, puisque Tkinter est justement un binding pour Tk. Voilà, tu sais tout.
Back to top
View user's profile Send private message
Will11
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2005
Posts: 90
Location: Belgium

PostPosted: Fri Aug 26, 2005 6:19 pm    Post subject: Reply with quote

lool ba merci :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum