install failed Getting requirements to build wheel did not run successfully. CMake Error at CMakeLists.txt:1 (cmake_minimum_required)
- Lingua principale
- Python
- Stelle
- 754
- Fork
- 69
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```
pip install matrix-commander
Collecting python-olm~=3.2 (from matrix-nio[e2e]>=0.14.1->matrix-commander)
Using cached python-olm-3.2.16.tar.gz (2.7 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
The error is from building python-olm, a dependency. Check the CMakeLists.txt file in the python-olm package or its build process. Look at the matrix-commander installation documentation and dependency versions. Investigate if the issue is specific to Windows (NMake) and whether there's a pre-built wheel available or a need to update CMake. Verify the fix by attempting a clean install in a virtual environment.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cmake, python
- Ambito
- build-system, cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100