Bonjour à tous,
Suite à la dernière mise à jour de python (3.10.2), wxpython ne fonctionnait plus.
j'ai ouvert la console en mode administrateur et me suis mis à la racine du répertoire python
Je l'ai donc désinstallé avec pip (pip unsinstall wxpython).
Et réinstaller par: pip3 install -U wxpyton.
Impossible de l'installer, voici les premières lignes des messages d'erreur:

Code x : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Collecting wxpython
  Using cached wxPython-4.1.1.tar.gz (66.0 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: pillow in c:\program files (x86)\python\lib\site-packages (from wxpython) (6.2.1)
Requirement already satisfied: six in c:\program files (x86)\python\lib\site-packages (from wxpython) (1.12.0)
Requirement already satisfied: numpy in c:\program files (x86)\python\lib\site-packages (from wxpython) (1.22.1)
Building wheels for collected packages: wxpython
  Building wheel for wxpython (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\program files (x86)\python\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'D:\\TMP\\Temp\\pip-install-wtu6kpyh\\wxpython_e6264031f3894ca6ab7251ff77691b66\\setup.py'"'"'; __file__='"'"'D:\\TMP\\Temp\\pip-install-wtu6kpyh\\wxpython_e6264031f3894ca6ab7251ff77691b66\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'D:\TMP\Temp\pip-wheel-_wh0m72o'
       cwd: D:\TMP\Temp\pip-install-wtu6kpyh\wxpython_e6264031f3894ca6ab7251ff77691b66\
  Complete output (49 lines):
  c:\program files (x86)\python\lib\site-packages\setuptools\dist.py:723: UserWarning: Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead
    warnings.warn(
  c:\program files (x86)\python\lib\site-packages\setuptools\dist.py:300: DistDeprecationWarning: use_2to3 is ignored.
    warnings.warn(f"{attr} is ignored.", DistDeprecationWarning)
  running bdist_wheel
  running build
  Will build using: "c:\program files (x86)\python\python.exe"
  3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]
  Python's architecture is 64bit
  cfg.VERSION: 4.1.1
...

Merci pour votre aide, je ne comprends la teneur des messages
Cordialement