Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] [Python] Problème de module
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
Lujeni
n00b
n00b


Joined: 20 Sep 2010
Posts: 12

PostPosted: Tue Nov 02, 2010 10:14 am    Post subject: [SOLVED] [Python] Problème de module Reply with quote

Bonjour,

Je commence le language de programmation python.
Cependant j'ai un soucis, le premier module pour faire quelque chose de graphique ne marche pas, voila l'erreur:

>>> from turtle import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named turtle
>>>


Le module Turtle est de base normalement, donc je comprend pas.Ma version de Python est 2.6.5.

Cordialement,
Jul


Last edited by Lujeni on Tue Nov 02, 2010 11:46 am; edited 1 time in total
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3580
Location: Belgium

PostPosted: Tue Nov 02, 2010 11:42 am    Post subject: Reply with quote

Ton problème semble identique à ce post.
As-tu compilé python avec le flag tk ?
Back to top
View user's profile Send private message
Lujeni
n00b
n00b


Joined: 20 Sep 2010
Posts: 12

PostPosted: Tue Nov 02, 2010 11:45 am    Post subject: Reply with quote

Oui ca venait de l'absence du USE Flag. Je l'ai ajouté dans mon package.use et recompiler le tout.
Merci ;).
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