后端安装pip3 install -r requirements.txt 报下面的错误:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for ruamel.yaml.clib
Failed to build ruamel.yaml.clib
ERROR: Could not build wheels for ruamel.yaml.clib, which is required to install pyproject.toml-based projects
请问怎么解决
这个是因为requirements.txt中的ruamel.yaml.clib==0.2.4版本太旧导致的。
查看ruamel.yaml.clib的最新版本:https://pypi.org/project/ruamel.yaml.clib/
从官网看到最新版本已经0.2.7
故将requirements.txt中的ruamel.yaml.clib的版本更新为0.2.7再次pip install -r requirements.txt 安装即可