Azure-Samples / Azure-Samples/rag-data-openai-python-promptflow

Pip install of requirements.txt error

Aperta
#9 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
290
Fork
152
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### This issue is for a: (mark with an `x`)
```
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
- Create codespace
- create python venv
- run pip install -r requirements

### Any log messages given by the failure
> creating /tmp/pip-install-jf3lvr8s/pyarrow_8661bd554c554b69bd24b8f428d2714d/build/temp.linux-x86_64-cpython-312
-- Running cmake for PyArrow
cmake -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-jf3lvr8s/pyarrow_8661bd554c554b69bd24b8f428d2714d/build/lib.linux-x86_64-cpython-312/pyarrow -DPYTHON_EXECUTABLE=/workspaces/rag-data-openai-python-promptflow/.venv/bin/python3 -DPython3_EXECUTABLE=/workspaces/rag-data-openai-python-promptflow/.venv/bin/python3 -DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release /tmp/pip-install-jf3lvr8s/pyarrow_8661bd554c554b69bd24b8f428d2714d
error: command 'cmake' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects

### Expected/desired behavior
> requirements installed

### OS and Version?
FROM mcr.microsoft.com/devcontainers/python:3.10

### Versions
>main

### Mention any other details that might be useful

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia ispezionando requirements.txt e riproducendo l’installazione nell’ambiente Codespace indicato con Python 3.10. Leggi l’output di pip relativo alla build di pyarrow e al comando cmake mancante; l’issue è completata quando l’installazione dei requirements termina correttamente in quell’ambiente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cmake, python
Ambito
build-system
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.