pip 使用pyproject.toml进行安装,出错

pip install -e .

出现如下报错:

ERROR: File "setup.py" or "setup.cfg" not found. Directory cannot be installed in editable mode: /workspace/FlexGen
(A "pyproject.toml" file was found, but editable mode currently requires a setuptools-based build.)

WARNING: You are using pip version 21.2.4; however, version 23.1.2 is available.
You should consider upgrading via the '/usr/bin/python -m pip install --upgrade pip' command.

解决方法:

pip install --upgrade pip

你可能感兴趣的:(pip,python,开发语言)