-
Notifications
You must be signed in to change notification settings - Fork 518
Open
Description
If I follow the installation steps currently in the README, I get the following from the last pip command (i.e. when installing layout-parser a second time, after installing detectron2):
Installing collected packages: pycocotools, fvcore
Attempting uninstall: pycocotools
Found existing installation: pycocotools 2.0.2
Uninstalling pycocotools-2.0.2:
Successfully uninstalled pycocotools-2.0.2
Attempting uninstall: fvcore
Found existing installation: fvcore 0.1.2.post20210128
Uninstalling fvcore-0.1.2.post20210128:
Successfully uninstalled fvcore-0.1.2.post20210128
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ocrd-segment 0.1.3 requires pycocotools>=2.0.2, but you have pycocotools 2.0.1 which is incompatible.
detectron2 0.3 requires fvcore<0.1.3,>=0.1.2, but you have fvcore 0.1.1.post20200623 which is incompatible.
detectron2 0.3 requires pycocotools>=2.0.2, but you have pycocotools 2.0.1 which is incompatible.
Successfully installed fvcore-0.1.1.post20200623 pycocotools-2.0.1
So it seems we are in conflict with current master of detectron2 here.
Could you point me to the right version of detectron2 to fetch, or update layout-parser accordingly?
Also, why not make the detectron2 dependency explicit in setup.py?
Metadata
Metadata
Assignees
Labels
No labels