logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 10-02-2024 10:52:21

xunil2003
Membre
Inscription : 06-02-2012

Python 3.11.2 bloc quand j'execute mon code

Bonjour,

Je pocéde un Raspbery Pi 5 8 Go Ram avec Debian 12

serveur@RPI-5:~ $  lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
serveur@RPI-5:~ $



serveur@RPI-5:~ $ uname -a
Linux RPI-5 6.1.0-rpi8-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.73-1+rpt1 (2024-01-25) aarch64 GNU/Linux
serveur@RPI-5:~ $




Je réaliser une application avec python 3.8.10 en Tkinter sur Ubuntu 20.04 et tout fonctionne, une fois transféré sur mon RPI5, mon application bloc sur le RPI5, lorsque je l'execute

serveur@RPI-5:~ $ python3 /home/serveur/Langages/python/3/videos2/video-02.py
serveur@RPI-5:~ $


je suis obligé de l'éteindre et de le rallumer manuellement en débranchant la prise

Version python sur le RPI

serveur@RPI-5:~ $ python3 -V
Python 3.11.2
serveur@RPI-5:~ $



Paquets python3 installer


serveur@RPI-5:~ $ dpkg -l python3*
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                        Version                        Architecture Description
+++-==========================================-==============================-============-=============================================================================
ii  python3                                    3.11.2-1+b1                    arm64        interactive high-level object-oriented language (default python3 version)
ii  python3-all                                3.11.2-1+b1                    arm64        package depending on all supported Python 3 runtime versions
ii  python3-all-dev                            3.11.2-1+b1                    arm64        package depending on all supported Python 3 development packages
ii  python3-appdirs                            1.4.4-3                        all          determining appropriate platform-specific directories (Python 3)
ii  python3-apt                                2.6.0                          arm64        Python 3 interface to libapt-pkg
un  python3-asgi-ipc                           <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-asgi-redis                         <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-asgiref                            3.6.0-1                        all          ASGI in-memory channel layer (Python3 version)
ii  python3-astroid                            2.14.2-1                       all          rebuild a new abstract syntax tree from Python's AST (Python3)
ii  python3-asttokens                          2.2.1-1                        all          annotate Python asbtract syntax trees with code references (Python 3)
ii  python3-attr                               22.2.0-1                       all          Attributes without boilerplate (Python 3)
ii  python3-av                                 10.0.0-1+rpt2                  arm64        pythonic bindings for FFmpeg'
s libraries
ii  python3-babel                              2.10.3-1                       all          tools for internationalizing Python applications - Python 3.x
ii  python3-backcall                           0.2.0-4                        all          Callback functions for Python
ii  python3-beniget                            0.4.1-3                        all          collection of compile-time Python AST analyzers
ii  python3-blinker                            1.5-1                          all          Fast, simple object-to-object and broadcast signaling (Python3)
un  python3-boto                               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-braceexpand                        <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-brotli                             1.0.9-2+b6                     arm64        lossless compression algorithm and format (Python 3 version)
ii  python3-bs4                                4.11.2-2                       all          error-tolerant HTML parser for Python 3
ii  python3-bytecode                           0.14.0-2                       all          Python module to generate, modify and optimize Python bytecode
ii  python3-cairo:arm64                        1.20.1-5+b1                    arm64        Python3 bindings for the Cairo vector graphics library
un  python3-cairocffi                          <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-certifi                            2022.9.24-1                    all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend:arm64                 1.15.1-5+b1                    arm64        Foreign Function Interface for Python 3 calling C code - runtime
un  python3-cffi-backend-api-9729              <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-cffi-backend-api-max               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-cffi-backend-api-min               <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-chardet                            5.1.0+dfsg-2                   all          Universal Character Encoding Detector (Python3)
ii  python3-charset-normalizer                 3.0.1-2                        all          charset, encoding and language detection (Python 3)
ii  python3-click                              8.1.3-2                        all          Wrapper around optparse for command line utilities - Python 3.x
un  python3-click-threading                    <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-colorama                           0.4.6-2                        all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-colorzero                          2.0-2                          all          Construct, convert, and manipulate colors in a Pythonic manner.
ii  python3-contourpy                          1.0.7-1+b1                     arm64        Python library for calculating contours of 2D quadrilateral grids
ii  python3-coverage                           6.5.0+dfsg1-2+b1               arm64        code coverage tool for Python 3
un  python3-crypto                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-cryptography                       38.0.4-3                       arm64        Python library exposing cryptographic recipes and primitives (Python 3)
un  python3-cryptography-vectors               <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-cups:arm64                         2.0.1-5+b4                     arm64        Python3 bindings for CUPS
ii  python3-cupshelpers                        1.5.18-1                       all          Python utility modules around the CUPS printing system
ii  python3-cycler                             0.11.0-1                       all          composable kwarg iterator (Python 3)
ii  python3-dateutil                           2.8.2-2                        all          powerful extensions to the standard Python 3 datetime module
ii  python3-dbus                               1.3.2-4+b1                     arm64        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                            1.5.82                         all          interact with debconf from Python 3
ii  python3-debugpy                            1.6.6+ds-1                     all          Implementation of the Debug Adapter Protocol for Python 3
ii  python3-decorator                          5.1.1-3                        all          simplify usage of Python decorators by programmers
un  python3-defcon                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-dev                                3.11.2-1+b1                    arm64        header files and a static library for Python (default)
ii  python3-dill                               0.3.6-1                        all          Serialize all of Python 3 (almost)
ii  python3-distro                             1.8.0-1                        all          Linux OS platform information API
ii  python3-distutils                          3.11.2-3                       all          distutils package for Python 3.x
un  python3-doc                                <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-docutils                           0.19+dfsg-6                    all          text processing system for reStructuredText (implemented in Python 3)
ii  python3-dotenv                             0.21.0-1                       all          Get and set values in the .env file in local and production servers
un  python3-egenix-mxtexttools                 <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-entrypoints                        0.4-2                          all          Discover and load entry points from installed packages (Python 3)
ii  python3-executing                          1.2.0-2                        all          Inspect Python AST node being executed
un  python3-f2py                               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-flake8                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-flask                              2.2.2-3                        all          micro web framework based on Werkzeug and Jinja2 - Python 3.x
ii  python3-fonttools                          4.38.0-1+b1                    arm64        Converts OpenType and TrueType fonts to and from XML (Python 3 Library)
ii  python3-fs                                 2.4.16-2                       all          Python filesystem abstraction
ii  python3-gast                               0.5.2-2                        all          compatibility layer for the AST of various Python versions (Python3 version)
un  python3-gdbm                               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-genshi                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-gi                                 3.42.2-3+b1                    arm64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                           3.42.2-3+b1                    arm64        Python 3 Cairo bindings for the GObject library
un  python3-gmpy2                              <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-gobject                            <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-gpiozero                           2.0-1                          all          Simple API for controlling devices attached to a Pi's GPIO pins
ii  python3-guizero                            1.4.0+dfsg-1                   all          module to allow quick and easy GUI creation (Python 3)
ii  python3-html5lib                           1.1-3                          all          HTML parser/tokenizer based on the WHATWG HTML5 specification
un  python3-icalendar                          <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-idna                               3.3-1                          all          Python IDNA2008 (RFC 5891) handling (Python 3)
un  python3-imaging                            <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-imaging-tk                         <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-imaplib2                           <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-importlib-metadata                 4.12.0-1                       all          library to access the metadata for a Python package - Python 3.x
un  python3-iptables                           <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-ipykernel                          6.17.0-1                       all          IPython kernel for Jupyter (Python 3)
ii  python3-ipython                            8.5.0-4                        all          Enhanced interactive Python shell (Python 3 version)
ii  python3-ipython-genutils                   0.2.0-5                        all          IPython vestigial utilities for Python 3
ii  python3-isort                              5.6.4-1                        all          library for sorting Python imports (Python 3)
ii  python3-itsdangerous                       2.1.2-3                        all          Various helpers to pass trusted data to untrusted environment - Python 3.x
ii  python3-jedi                               0.18.2-1                       all          autocompletion tool for Python 3
ii  python3-jinja2                             3.1.2-1                        all          small but fast and easy to use stand-alone template engine
ii  python3-jupyter-client                     7.4.9-2                        all          Jupyter protocol client APIs (Python 3)
un  python3-jupyter-console                    <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-jupyter-core                       4.12.0-1                       all          Core common functionality of Jupyter projects for Python 3
ii  python3-jwt                                2.6.0-1                        all          Python 3 implementation of JSON Web Token
ii  python3-kiwisolver                         1.4.4-1+b1                     arm64        fast implementation of the Cassowary constraint solver - Python 3.X
ii  python3-kms++                              0~git20231115~065257+9ae90ce-1 arm64        C++ library for kernel mode setting - python3 bindings
ii  python3-lazy-object-proxy                  1.9.0-1+b1                     arm64        Python 3 fast and thorough lazy object proxy
ii  python3-lgpio                              0.2.2-1~rpt1                   arm64        Control GPIO pins via gpiochip devices - python3 bindings
ii  python3-lib2to3                            3.11.2-3                       all          Interactive high-level object-oriented language (lib2to3)
ii  python3-libcamera                          0.1.0+rpt20231122-1            arm64        complex camera support library (Python bindings)
ii  python3-libevdev                           0.5-3                          all          Python 3 wrapper for libevdev
ii  python3-libgpiod:arm64                     1.6.3-1+b3                     arm64        Python bindings for libgpiod (Python 3)
ii  python3-logilab-common                     1.9.8-1                        all          useful miscellaneous modules used by Logilab projects (Python3)
ii  python3-lxml:arm64                         4.9.2-1+b1                     arm64        pythonic binding for the libxml2 and libxslt libraries
ii  python3-lz4                                4.0.2+dfsg-1+b2                arm64        Python interface to the lz4 compression library (Python 3)
un  python3-m2r                                <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-markupsafe                         2.1.2-1+b1                     arm64        HTML/XHTML/XML string library
ii  python3-matplotlib                         3.6.3-1+b1                     arm64        Python based plotting system in a style similar to Matlab (Python 3)
ii  python3-matplotlib-inline                  0.1.6-2                        all          Matplotlib backend for inline use in IPython and Jupyter
ii  python3-mccabe                             0.7.0-1                        all          Python code complexity checker (Python 3)
un  python3-migrate                            <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-minimal                            3.11.2-1+b1                    arm64        minimal subset of the Python language (default python3 version)
ii  python3-more-itertools                     8.10.0-2                       all          library with routines for operating on iterables, beyond itertools (Python 3)
ii  python3-mpmath                             1.2.1-2                        all          library for arbitrary-precision floating-point arithmetic (Python3)
un  python3-munkres                            <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-mypy                               1.0.1-1                        arm64        public modules for mypy (Python 3)
ii  python3-mypy-extensions                    0.4.3-4                        all          Experimental type system extensions for mypy typechecker (Python 3)
un  python3-nbconvert                          <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-nest-asyncio                       1.5.4-1                        all          Patch asyncio to allow nested event loops
un  python3-notify2                            <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-nudatus                            0.0.5-2                        all          module to remove comments from Python 3 scripts
ii  python3-numpy                              1:1.24.2-1                     arm64        Fast array facility to the Python 3 language
un  python3-numpy-abi9                         <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-numpy-api16                        <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-numpy-dev                          <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-oauthlib                           3.2.2-1                        all          generic, spec-compliant implementation of OAuth for Python3
un  python3-objgraph                           <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-olefile                            0.46-3                         all          Python module to read/write MS OLE2 files
un  python3-omegaconf                          <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-opengl                             3.1.6+dfsg-3                   all          Python bindings to OpenGL (Python 3)
ii  python3-openssl                            23.0.0-1                       all          Python 3 wrapper around the OpenSSL library
un  python3-openssl-dbg                        <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-packaging                          23.0-1                         all          core utilities for python3 packages
ii  python3-parso                              0.8.3-1                        all          Python parser that supports error recovery - Python 3.X
ii  python3-pexpect                            4.8.0-4                        all          Python 3 module for automating interactive applications
un  python3-pgmagick                           <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-pgzero                             1.2.post4+dfsg-2               all          Zero-boilerplate games programming framework based on Pygame (Python 3)
ii  python3-picamera2                          0.3.16-1                       all          Libcamera based python library
ii  python3-pickleshare                        0.7.5-5                        all          File system based database that uses Python pickles for Python 3
ii  python3-pidng                              4.0.9-1+bookworm               arm64        Create Adobe DNG RAW files using Python (Python 3)
ii  python3-piexif                             1.1.3-2                        all          pure-Python EXIF manipulation library
ii  python3-pigpio                             1.79-1+rpt1                    all          Python module which talks to the pigpio daemon (Python 3)
ii  python3-pil:arm64                          9.4.0-1.1+b1                   arm64        Python Imaging Library (Python3)
ii  python3-pil.imagetk:arm64                  9.4.0-1.1+b1                   arm64        Python Imaging Library - ImageTk Module (Python3)
un  python3-pillow                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-pip                                23.0.1+dfsg-1+rpt1             all          Python package installer
ii  python3-pip-whl                            23.0.1+dfsg-1+rpt1             all          Python package installer (pip wheel)
ii  python3-pkg-resources                      66.1.1-1                       all          Package Discovery and Resource Access using pkg_resources
ii  python3-platformdirs                       2.6.0-1                        all          determining appropriate platform-specific directories (Python 3)
ii  python3-ply                                3.11-5                         all          Lex and Yacc implementation for Python3
un  python3-ply-lex-3.10                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-ply-yacc-3.10                      <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-prctl                              1.8.1-1+b2                     arm64        Python interface to the prctl() syscall (Python 3)
un  python3-profiler                           <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-prompt-toolkit                     3.0.36-2                       all          library for building interactive command lines (Python 3)
ii  python3-psutil                             5.9.4-1+b1                     arm64        module providing convenience functions for managing processes (Python3)
ii  python3-ptyprocess                         0.7.0-5                        all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pure-eval                          0.2.2-1                        all          Safely evaluate Python AST nodes without side effects
ii  python3-py                                 1.11.0-1                       all          Advanced Python development support library (Python 3)
ii  python3-pycodestyle                        2.10.0-1                       all          Python style guide checker (formerly called pep8) - Python 3.x
un  python3-pycurl                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-pydevd                             2.9.5+ds-4                     arm64        Debugger used by debugpy (command line script)
ii  python3-pyflakes                           2.5.0-1                        all          passive checker of Python 3 programs - Python modules
ii  python3-pygame                             2.1.2+dfsg-5+b1                arm64        SDL bindings for games development (Python 3)
ii  python3-pygments                           2.14.0+dfsg-1                  all          syntax highlighting package written in Python 3
ii  python3-pyinotify                          0.9.6-2                        all          simple Linux inotify Python bindings
un  python3-pylint-django                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-pylint-plugin-utils                <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-pyparsing                          3.0.9-1                        all          alternative to creating and executing simple grammars - Python 3.x
ii  python3-pyqt5                              5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5
ii  python3-pyqt5.qsci                         2.13.3+dfsg-3                  arm64        Python 3 bindings for QScintilla 2 with Qt 5
ii  python3-pyqt5.qtchart                      5.15.6+dfsg-1                  arm64        Python 3 bindings for Qt5's Charts module
ii  python3-pyqt5.qtmultimedia                 5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5'
s Multimedia module
ii  python3-pyqt5.qtopengl                     5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5's OpenGL module
ii  python3-pyqt5.qtpositioning                5.15.9+dfsg-1                  arm64        Python 3 bindings for QtPositioning module
ii  python3-pyqt5.qtquick                      5.15.9+dfsg-1                  arm64        Python 3 bindings for QtQuick module
ii  python3-pyqt5.qtremoteobjects              5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5'
s RemoteObjects module
ii  python3-pyqt5.qtsensors                    5.15.9+dfsg-1                  arm64        Python 3 bindings for QtSensors module
ii  python3-pyqt5.qtserialport                 5.15.9+dfsg-1                  arm64        Python 3 bindings for QtSerialPort module
ii  python3-pyqt5.qtsql                        5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5's SQL module
ii  python3-pyqt5.qtsvg                        5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5'
s SVG module
ii  python3-pyqt5.qttexttospeech               5.15.9+dfsg-1                  arm64        Python 3 bindings for QtSpeech module
ii  python3-pyqt5.qtwebchannel                 5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5's WebChannel module
ii  python3-pyqt5.qtwebengine                  5.15.6-1                       arm64        Python 3 bindings for Qt5'
s WebEngine module
ii  python3-pyqt5.qtwebkit                     5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5's WebKit module
ii  python3-pyqt5.qtwebsockets                 5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5'
s WebSockets module
ii  python3-pyqt5.qtxmlpatterns                5.15.9+dfsg-1                  arm64        Python 3 bindings for Qt5's XmlPatterns module
ii  python3-pyqt5.sip                          12.11.1-1                      arm64        runtime module for Python extensions using SIP
un  python3-pytest                             <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-pytest-pylint                      <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-pythran                            0.11.0+ds-7                    arm64        ahead of time compiler for Python
ii  python3-pyudev                             0.24.0-1                       all          Python3 bindings for libudev
ii  python3-qtconsole                          5.4.0-1                        all          Jupyter - Qt console (Python 3)
ii  python3-qtpy                               2.3.0-1                        all          Abstraction layer for PySide2/PySide6/PyQt5/PyQt6 (Python 3)
ii  python3-renderpm:arm64                     3.6.12-1+b1                    arm64        python low level render interface
ii  python3-reportlab                          3.6.12-1                       all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:arm64              3.6.12-1+b1                    arm64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                           2.28.1+dfsg-1                  all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-oauthlib                  1.3.0+ds-1                     all          module providing OAuthlib auth support for requests (Python 3)
ii  python3-responses                          0.18.0-1                       all          Utility library for mocking out the requests Python 3 library
ii  python3-roman                              3.3-3                          all          module for generating/analyzing Roman numerals for Python 3
ii  python3-rpi.gpio                           0.7.1~a4-1+b4                  arm64        Module to control Raspberry Pi GPIO channels (Python 3)
ii  python3-rtimulib                           7.2.1-6+bookworm               arm64        Versatile C++ and Python 9-dof, 10-dof and 11-dof IMU library (Python 3)
ii  python3-scipy                              1.10.1-2                       arm64        scientific tools for Python 3
ii  python3-semver                             2.10.2-3                       all          helps to compare semantic versioning - Python 3.x
ii  python3-send2trash                         1.8.1~b0-2                     all          Python module for sending file to trash natively
ii  python3-sense-hat                          2.6.0-1                        all          Sense HAT python library (Python 3)
ii  python3-serial                             3.5-1.1                        all          pyserial - module encapsulating access for the serial port
ii  python3-setuptools                         66.1.1-1                       all          Python3 Distutils Enhancements
ii  python3-setuptools-whl                     66.1.1-1                       all          Python Distutils Enhancements (wheel package)
ii  python3-simplejpeg                         1.6.6-1                        arm64        Simple package for fast JPEG encoding and decoding
ii  python3-simplejson                         3.18.3-1                       arm64        simple, fast, extensible JSON encoder/decoder for Python 3.x
un  python3-sip                                <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-six                                1.16.0-4                       all          Python 2 and 3 compatibility library
un  python3-skbio                              <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-smbc                               1.0.23-2+b4                    arm64        Python 3 bindings for the Samba client library
ii  python3-smbus:arm64                        4.3-2+b3                       arm64        Python 3 bindings for Linux SMBus access through i2c-dev
ii  python3-smbus2                             0.4.2-1                        arm64        another pure Python implementation of the python-smbus package
un  python3-socks                              <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-softlayer                          <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-soupsieve                          2.3.2-1                        all          modern CSS selector implementation for BeautifulSoup (Python 3)
un  python3-sphinx                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-spidev                             20200602~200721-1+bookworm     arm64        Bindings for Linux SPI access through spidev (Python 3)
ii  python3-stack-data                         0.6.2-3                        all          Better tracebacks for Python
un  python3-supported-max                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-supported-min                      <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-sympy                              1.11.1-1                       all          Computer Algebra System (CAS) in Python (Python 3)
un  python3-talloc                             <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-tk:arm64                           3.11.2-3                       arm64        Tkinter - Writing Tk applications with Python 3.x
un  python3-tk-dbg                             <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-toml                               0.10.2-1                       all          library for Tom's Obvious, Minimal Language - Python 3.x
un  python3-tomli                              <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-tomlkit                            0.11.7-1                       all          style-preserving TOML library for Python
ii  python3-tornado                            6.2.0-3                        arm64        scalable, non-blocking web server and tools - Python 3 package
ii  python3-traitlets                          5.5.0-1                        all          Lightweight Traits-like package for Python 3
un  python3-translate                          <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-twisted                            <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-twython                            3.8.2+dfsg-2                   all          Pure Python3 wrapper for the Twitter API
un  python3-types-aiofiles                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-annoy                        <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-appdirs                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-aws-xray-sdk                 <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-babel                        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-backports-ssl-match-hostname <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-beautifulsoup4               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-bleach                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-boto                         <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-braintree                    <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-cachetools                   <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-caldav                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-certifi                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-cffi                         <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-chardet                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-chevron                      <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-click-spinner                <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-colorama                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-commonmark                   <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-console-menu                 <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-contextvars                  <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-croniter                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-cryptography                 <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-d3dshot                      <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-dateparser                   <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-datetimerange                <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-decorator                    <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-deprecated                   <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-dj-database-url              <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-docopt                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-docutils                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-editdistance                 <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-emoji                        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-entrypoints                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-first                        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-flake8-2020                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-flake8-bugbear               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-flake8-builtins              <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-flake8-docstrings            <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-flake8-plugin-utils          <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-flake8-rst-docstrings        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-flake8-simplify              <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-flake8-typing-imports        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-flask-cors                   <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-flask-sqlalchemy             <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-fpdf2                        <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-gdb                          <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-google-cloud-ndb             <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-hdbcli                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-html5lib                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-httplib2                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-humanfriendly                <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-invoke                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-jack-client                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-jmespath                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-jsonschema                   <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-keyboard                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-ldap3                        <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-markdown                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-mock                         <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-mypy-extensions              <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-mysqlclient                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-oauthlib                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-openpyxl                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-opentracing                  <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-paho-mqtt                    <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-paramiko                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-parsimonious                 <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-passlib                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-passpy                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-peewee                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pep8-naming                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pillow                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-playsound                    <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-polib                        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-prettytable                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-protobuf                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-psutil                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-psycopg2                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pyaudio                      <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pyautogui                    <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pycurl                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pyfarmhash                   <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pyflakes                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pygments                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pyinstaller                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pymysql                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pynput                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pyopenssl                    <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pyrfc3339                    <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pyscreeze                    <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pysftp                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pytest-lazy-fixture          <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-python-crontab               <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-python-dateutil              <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-python-gflags                <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-python-jose                  <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-python-nmap                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-python-slugify               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pytz                         <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pyvmomi                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-pywin32                      <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-pyyaml                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-redis                        <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-regex                        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-requests                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-retry                        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-send2trash                   <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-setuptools                   <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-simplejson                   <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-singledispatch               <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-six                          <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-slumber                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-sqlalchemy                   <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-stdlib-list                  <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-stripe                       <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-tabulate                     <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-termcolor                    <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-toml                         <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-toposort                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-tqdm                         <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-tree-sitter                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-tree-sitter-languages        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-ttkthemes                    <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-typed-ast                    <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-tzlocal                      <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-ujson                        <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-urllib3                      <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-vobject                      <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-waitress                     <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-whatthepatch                 <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-xmltodict                    <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-types-xxhash                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3-types-zxcvbn                       <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3-typeshed                           0.0~git20221107.4f381af-1      all          collection of library stubs for Python, with static types
ii  python3-typing-extensions                  4.4.0-1                        all          Backported and Experimental Type Hints for Python
ii  python3-tz                                 2022.7.1-4                     all          Python3 version of the Olson timezone database
ii  python3-uflash                             1.2.4+dfsg-10                  all          module and utility for flashing the BBC micro:bit
ii  python3-ufolib2                            0.14.0+dfsg1-1                 all          Unified Font Object (UFO) fonts library
un  python3-unicodedata2                       <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-uno                                4:7.4.7-1+deb12u1              arm64        Python-UNO bridge
ii  python3-urllib3                            1.26.12-1                      all          HTTP library with thread-safe connection pooling for Python3
ii  python3-v4l2                               0.3.2-1                        all          Python bindings for the v4l2 userspace api
ii  python3-venv                               3.11.2-1+b1                    arm64        venv module for python3 (default python3 version)
un  python3-vobject                            <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-watchdog                           <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-wcwidth                            0.2.5+dfsg1-1.1                all          determine printable width of a string on a terminal
ii  python3-webencodings                       0.5.1-5                        all          Python implementation of the WHATWG Encoding standard
ii  python3-werkzeug                           2.2.2-3                        all          collection of utilities for WSGI applications (Python 3.x)
ii  python3-wheel                              0.38.4-2                       all          built-package format for Python
ii  python3-wrapt                              1.14.1-2+b2                    arm64        decorators, wrappers and monkey patching. - Python 3.x
un  python3-wxgtk                              <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3-wxgtk3.0                           <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3-wxgtk4.0                           4.2.0+dfsg-3                   arm64        Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit
ii  python3-zipp                               1.0.0-6                        all          pathlib-compatible Zipfile object wrapper - Python 3.x
ii  python3-zmq                                24.0.1-4+b1                    arm64        Python3 bindings for 0MQ library
un  python3.1                                  <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3.11                                 3.11.2-6                       arm64        Interactive high-level object-oriented language (version 3.11)
ii  python3.11-dev                             3.11.2-6                       arm64        Header files and a static library for Python (v3.11)
un  python3.11-distutils                       <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3.11-doc                             <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3.11-lib2to3                         <aucune>                       <aucune>     (aucune description n'est disponible)
ii  python3.11-minimal                         3.11.2-6                       arm64        Minimal subset of the Python language (version 3.11)
un  python3.11-tk                              <aucune>                       <aucune>     (aucune description n'
est disponible)
ii  python3.11-venv                            3.11.2-6                       arm64        Interactive high-level object-oriented language (pyvenv binary, version 3.11)
un  python3.6-2to3                             <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3.7                                  <aucune>                       <aucune>     (aucune description n'
est disponible)
un  python3.7-2to3                             <aucune>                       <aucune>     (aucune description n'est disponible)
un  python3.8                                  <aucune>                       <aucune>     (aucune description n'
est disponible)
lines 366-409/409 (END)
serveur@RPI-5:~ $
 



Pourtant j'ai essayé la commande test de python3 Tkinter sur le RPI 5 afin de verifier si tout était installé pour Tkinter.

serveur@RPI-5:~ $ python3 -m tkinter
serveur@RPI-5:~ $


et ça marche ? je vois la fenetre tkinter avec les boutons.


serveur@RPI-5:~ $ ls -alh /usr/bin/python*
lrwxrwxrwx 1 root root    7  8 janv.  2023 /usr/bin/python -> python3
lrwxrwxrwx 1 root root   10  9 avril  2023 /usr/bin/python3 -> python3.11
-rwxr-xr-x 1 root root 6,4M 13 mars   2023 /usr/bin/python3.11
lrwxrwxrwx 1 root root   35 13 mars   2023 /usr/bin/python3.11-config -> aarch64-linux-gnu-python3.11-config
-rwxr-xr-x 1 root root  981 31 janv.  2023 /usr/bin/python3.11-coverage
lrwxrwxrwx 1 root root   17  9 avril  2023 /usr/bin/python3-config -> python3.11-config
-rwxr-xr-x 1 root root  978 31 janv.  2023 /usr/bin/python3-coverage
-rwxr-xr-x 1 root root  977 17 sept.  2022 /usr/bin/python-dotenv
serveur@RPI-5:~ $



Y a t'il un bug chez debian ?
Y a t'il un paquet à installer ou faut il configurer python ?
Y a t'il une solution ?
Faut-il installer python 3.8.10 sur le RPI5 ?
Comment résoudre mon problème ?

Merci d'avance pour vos avis et conseils.

Dernière modification par xunil2003 (10-02-2024 11:20:56)


Globalscale GuruPug Serveur Plus / ARM 1.2 Ghz / Debian Lenny.
I7 950 / 12 Go Ram / Ubuntu 10.10 / Mandriva 2010 / Mageia / Windows 7.

Hors ligne

#2 10-02-2024 11:54:33

xunil2003
Membre
Inscription : 06-02-2012

Re : Python 3.11.2 bloc quand j'execute mon code

Bonjour,

Dans mon code,python3, j'ai remplacé la ligne :

fp.geometry("680x9800-600+100")


par

fp.geometry("540x790-600+100")


et ça marche sur le RPI5. Ce qui veut dire que c'était trop grand.

Merci.


Globalscale GuruPug Serveur Plus / ARM 1.2 Ghz / Debian Lenny.
I7 950 / 12 Go Ram / Ubuntu 10.10 / Mandriva 2010 / Mageia / Windows 7.

Hors ligne

Pied de page des forums