layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

Non-existent version of paddlepaddle in requirements

Open JeffreyEnglish opened this issue 7 months ago • 0 comments

Describe the bug Installing layoutparser[paddledetection] requires "paddlepaddle==2.1.0". But paddlepaddle does not have a version 2.1.0, so the install fails. I believe the correct version should be "paddlepaddle==3.1.0"

Checklist

  1. I have searched related issues but cannot get the expected help.
  2. The bug has not been fixed in the latest version, see the Layout Parser Releases

To Reproduce Steps to reproduce the behavior:

  1. What command or script did you run?
uv add "layoutparser[paddledetection]"

Environment

  1. Please describe your Platform [Windows/MacOS/Linux] Ubuntu 24.04
  2. Please show the Layout Parser version2. layoutparser[effdet,layoutmodels]>=0.3.4

Error traceback No solution found when resolving dependencies for split (python_full_version >= '3.12' and python_full_version < '3.12.4' and platform_system == 'Darwin'): ╰─▶ Because only layoutparser[paddledetection]<=0.3.4 is available and layoutparser[paddledetection]==0.3.4 depends on paddlepaddle==2.1.0, we can conclude that layoutparser[paddledetection]>=0.3.4 depends on paddlepaddle==2.1.0. And because there is no version of paddlepaddle==2.1.0 and your project depends on layoutparser[paddledetection]>=0.3.4, we can conclude that your project's requirements are unsatisfiable.

JeffreyEnglish avatar Jul 14 '25 21:07 JeffreyEnglish