View previous topic :: View next topic |
Author |
Message |
Paulbro Tux's lil' helper
Joined: 26 Aug 2003 Posts: 124
|
Posted: Tue Aug 26, 2003 10:02 am Post subject: [PYTHON] Installer Python/tk (résolu) |
|
|
Je voudrais installer Python sur ma gentoo.
J'ai fait un emerge python qui s'est bien passé. La ligne de commande interactif fonctionne, donc de ce côté là c'est bon.
Mais l'intégration de Tkinter ne fonctionne pas. Un exemple :
bash-2.05b$ python
Python 2.2.3 (#1, Aug 25 2003, 10:37:0
[GCC 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from Tkinter import *
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 35, in ?
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
>>>
Oui, oui, vous avez bien compris... je suis autant débutant en python, qu'en Linux.
Merci d'avance.
Last edited by Paulbro on Wed Aug 27, 2003 6:29 pm; edited 1 time in total |
|
Back to top |
|
|
sebo Tux's lil' helper
Joined: 26 Jun 2003 Posts: 114 Location: Aix en Provence, FRANCE
|
|
Back to top |
|
|
Paulbro Tux's lil' helper
Joined: 26 Aug 2003 Posts: 124
|
|
Back to top |
|
|
|
|
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
|
|