layout-parser
layout-parser copied to clipboard
unable to install 0.3.4 version of the layoutparser due to assertion error
Describe the bug poetry add layoutparser Using version ^0.3.4 for layoutparser
Updating dependencies Resolving dependencies... (0.0s)
AssertionError
at ~/.poetry/lib/poetry/mixology/incompatibility.py:111 in str 107│ ) 108│ 109│ def str(self): 110│ if isinstance(self._cause, DependencyCause): → 111│ assert len(self._terms) == 2 112│ 113│ depender = self._terms[0] 114│ dependee = self._terms[1] 115│ assert depender.is_positive()
Checklist
- I have searched related issues but cannot get the expected help.
- The bug has not been fixed in the latest version, see the Layout Parser Releases
To Reproduce Steps to reproduce the behavior:
- poetry add layoutparser
Environment
- Please describe your Platform [MacOS]
- Please show the Layout Parser version
- You may add addition that may be helpful for locating the problem, such as
- How you installed PyTorch [e.g., pip, conda, source] poetry
- Other environment variables that may be related (such as
$PATH
,$LD_LIBRARY_PATH
,$PYTHONPATH
, etc.)
Error traceback If applicable, paste the error traceback here.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
Thanks! I think you might want to take a look at poetry's config -- https://github.com/python-poetry/poetry/issues/3491#issuecomment-872230288 .