PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

DependencyError: pandas<=1.5.3 incompatible with python 3.12

Open EricCpy opened this issue 6 months ago • 3 comments

Checklist

Bug Description

Installation of paddlex==3.0.0 fails when using python 3.12 due to pandas dependency (version 1.5.3), which does not support python 3.12.

Steps to Reproduce

Fails on python 3.12:

python3.12 -m venv env312
source env312/bin/activate
pip install paddlex==3.0.0

This will result in an error because pandas<=1.5.3 is incompatible with python 3.12.

Works on python 3.11:

python3.11 -m venv env311
source env311/bin/activate
pip install paddlex==3.0.0

This succeeds as expected.

Suggested Fix

Update the dependencies to a version compatible with python 3.12 or remove python 3.12 support.

EricCpy avatar May 26 '25 16:05 EricCpy