Bonjour, j'ai mis à jour pip.
Je code sur visual studio code.
Quand j'installe le module PyQt5-sip voici le message que j'obtien (idem pour le module PyQt5):
Code : 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
24
pip install pyqt5-sip  
Collecting pyqt5-sip
  Using cached PyQt5_sip-12.15.0.tar.gz (104 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pyqt5-sip
  Building wheel for pyqt5-sip (pyproject.toml) ... error
  error: subprocess-exited-with-error
 
  × Building wheel for pyqt5-sip (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'PyQt5.sip' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]
 
  note: This error originates from a subprocess, and is likely not a problem with pip.       
  ERROR: Failed building wheel for pyqt5-sip
Failed to build pyqt5-sip
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyqt5-sip)
que ce passe t'il?
j'ustilise assez régulièrement le module PyQt5 et c'est la première fois que cela m'arrive.
Merci d'avance.