2015-04-12T14:21:48ZFluxBBhttps://debian-facile.org/viewtopic.php?id=10245]]>https://debian-facile.org/profile.php?id=20192015-04-12T14:21:48Zhttps://debian-facile.org/viewtopic.php?pid=115610#p115610j'ai enfin trouver la solution pour l'utilisation du module tkinter dans python3.4.1 valable également pour python 3.4.2 que j'ai intallé récemment : voilà donc ce que j'ai fait suite à mes recherches sur google: -installer le paquet tk-dev:
sudo apt-get install tk-dev
-recompiler le paquet binaire python 3.4.2
cd /votre/chemin/vers/le/repertoire/python3.4.2
./configure
make
sudo make install
et çà marche très bien:
yanice@debian:~$ python3.4
Python 3.4.2 (default, Apr 12 2015, 13:43:53)
[GCC 4.7.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>>
]]>
https://debian-facile.org/profile.php?id=42322015-04-12T12:59:03Zhttps://debian-facile.org/viewtopic.php?pid=115608#p115608https://debian-facile.org/profile.php?id=42322014-12-16T15:11:37Zhttps://debian-facile.org/viewtopic.php?pid=104332#p104332 Sinon, pour bosser avec Python dans la version qui t'intéresse, il y a peut-être moyen avec PIP et Virtualenv ]]>https://debian-facile.org/profile.php?id=25342014-12-14T20:17:03Zhttps://debian-facile.org/viewtopic.php?pid=104187#p104187https://debian-facile.org/profile.php?id=42322014-12-14T19:35:12Zhttps://debian-facile.org/viewtopic.php?pid=104185#p104185Sur Wheezy, c'est la 3.2.3-6 : https://packages.debian.org/fr/wheezy/python3]]>https://debian-facile.org/profile.php?id=20192014-12-14T18:57:22Zhttps://debian-facile.org/viewtopic.php?pid=104180#p104180voilà ce que donne la commande
python-tk: Installé : (aucun) Candidat : 2.7.3-1 Table de version : 2.7.3-1 0 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages yanice@debian:~$
en fait le module est présent pour python3.2 mais pour le 3.4.1 j'ai l' erreur dont je fais cas]]>https://debian-facile.org/profile.php?id=42322014-12-14T18:51:12Zhttps://debian-facile.org/viewtopic.php?pid=104178#p104178 Peux-tu aussi montrer les premières lignes de ton script (celles avec les imports) ? ]]>https://debian-facile.org/profile.php?id=20192014-12-14T07:34:40Zhttps://debian-facile.org/viewtopic.php?pid=104116#p104116
que donne :
apt-cache policy python-tk
Et accessoirement, es-tu sûr de lancer ton script avec python3 ?]]>
https://debian-facile.org/profile.php?id=20192014-12-13T18:07:25Zhttps://debian-facile.org/viewtopic.php?pid=104096#p104096en important le module tkinter sur python3.4.1 sur debian 7.7 kde amd64 j'ai l’erreur suivante: Traceback (most recent call last) File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.4/tkinter/__init__.py", line 38, in <module> import _tkinter # If this fails your Python may not be configured for tk ImportError: No module named '_tkinter' j'ai charché un peu sur les forums mais en vain j'ai installé également python3-tk mais rien n'y fit quelqu'un pourait t'il maider svp? Merci]]>https://debian-facile.org/profile.php?id=42322014-12-13T18:00:26Zhttps://debian-facile.org/viewtopic.php?pid=104095#p104095