我正在安装一些环境包,我按照以下步骤操作:
pip install -r dev_requirements.txt
(在文件夹 mlops-crash-course-code/pipeline_data 中)但是当我安装盛宴[redis]==0.24.0时。我收到以下错误:
(venv) C:\MLOpsVN\mlops-crash-course-code\data_pipeline>pip install feast[redis]==0.23.2
Collecting feast==0.23.2 (from feast[redis]==0.23.2)
Using cached feast-0.23.2.tar.gz (3.0 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in feast setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
我尝试将python版本从3.9更改为3.10,但没有成功。
更新新版本 py -m pip installfest 发布时间:2024 年 2 月 17 日