错误:无法为使用PEP 517且无法直接安装的apexpy生成控制盘

2024-10-02 22:26:16 发布

您现在位置:Python中文网/ 问答频道 /正文

我需要安装apex来使用这个github:https://github.com/SwinTransformer/Swin-Transformer-Object-Detection

但是使用pip install apexpy,我遇到了以下错误:ERROR: Could not build wheels for apexpy which use PEP 517 and cannot be installed directly

我尝试使用以下方法,但徒劳无功:

pip install --no-use-pep517 apexpy(我得到不同的错误:ERROR: Command errored out with exit status 1

我还尝试升级/降级我的pip,我做到了pip install --upgrade pip stepuptools wheel

(我使用的是Python 3.7,没有管理员权限)


Tags: installpiphttpsgithubcomobjectuse错误