RROR:无法找到满足detectron2>=0.4需求的版本(来自-r /tmp/build_345e2e66/requments.txt(第5行))(版本:无)
ERROR: No matching distribution found for detectron2>=0.4 (from -r /tmp/build_345e2e66/requirements.txt (line 5))发布于 2021-07-28 19:12:49
不要使用pip冻结,它不会工作,只需将这些添加到您的req.txt中
https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.8/index.html
然后它会成功地安装你的探测器
发布于 2021-08-18 00:09:55
这似乎只适用于Linux。要让它在Mac上运行:
git clone https://github.com/facebookresearch/detectron2.git然后添加
-e detectron2
给你的requirements.txt
来源:https://detectron2.readthedocs.io/en/latest/tutorials/install.html
https://stackoverflow.com/questions/67598712
复制相似问题